当前位置:网站首页>Sqlsever 字段相乘后保留2位小数
Sqlsever 字段相乘后保留2位小数
2022-06-27 05:47:00 【艳阳天_.】
-----收运入库单
---- 重新计算不含税金额
update CT_HW_TempInWarehsBillEntry set CFExclTaxMoney= Round( CFAmount/1.06,2) where fparentid ='hdAAAABSHr2z2FIW'
----计算税额
update CT_HW_TempInWarehsBillEntry set CFTax=CFAmount- CFExclTaxMoney where fparentid ='hdAAAABSHr2z2FIW'
---处置出库单
---- 重新计算不含税金额
update CT_HW_TempIssueBillEntry set CFExclTaxMoney= Round( CFAmount/1.06,2)
----计算税额
update CT_HW_TempIssueBillEntry set CFTax=CFAmount- CFExclTaxMoney
边栏推荐
- jq怎么获取倒数的元素
- 软件测试年终总结报告模板
- KubeSphere 集群配置 NFS 存储解决方案-收藏版
- Spark's projection
- [collection] Introduction to basic knowledge of point cloud and functions of point cloud catalyst software
- How to check the frequency of memory and the number of memory slots in CPU-Z?
- DAST 黑盒漏洞扫描器 第六篇:运营篇(终)
- MATLAB快速将影像的二维坐标转换为经纬度坐标
- NLP-D62-nlp比赛D31&刷题D15
- 汇编语言-王爽 第9章 转移指令的原理-笔记
猜你喜欢
openstack实例重启状态就会变成错误处理方法,容器搭建的openstack重启计算节点compute服务方法,开机提示Give root password for maintenance处理方法
块级元素&行内元素
Asp. Net core6 websocket simple case
Using domain name forwarding mqtt protocol, pit avoidance Guide
Senior [Software Test Engineer] learning route and necessary knowledge points
IAR systems fully supports Centrino technology 9 series chips
leetcode299周赛记录
Basic concepts of neo4j graph database
Navigation [machine learning]
Codeforces Round #802 (Div. 2)
随机推荐
Discussion on streaming media protocol (MPEG2-TS, RTSP, RTP, RTCP, SDP, RTMP, HLS, HDS, HSS, mpeg-dash)
310. 最小高度树
[FPGA] UART serial port_ V1.1
【Cocos Creator 3.5.1】event. Use of getbutton()
Avoid asteroids
Leetcode298 weekly race record
Unity中跨平臺獲取系統音量
leetcode299周赛记录
Opencv实现对象跟踪
693. 交替位二进制数
Free SSH and telnet client putty
软件测试年终总结报告模板
Formation and release of function stack frame
【FPGA】UART串口_V1.1
【FPGA】 基于FPGA分频,倍频设计实现
QListWidget中的内容不显示
我对于测试团队建设的意见
Junda technology - centralized monitoring scheme for multi brand precision air conditioners
leetcode298周赛记录
竣达技术丨多品牌精密空调集中监控方案