当前位置:网站首页>Keep 2 decimal places after multiplying SQLSEVER fields
Keep 2 decimal places after multiplying SQLSEVER fields
2022-06-27 06:08:00 【Sunny day】
----- Collection, transportation and warehousing doc
---- Recalculate the amount excluding tax
update CT_HW_TempInWarehsBillEntry set CFExclTaxMoney= Round( CFAmount/1.06,2) where fparentid ='hdAAAABSHr2z2FIW'
---- Calculate tax amount
update CT_HW_TempInWarehsBillEntry set CFTax=CFAmount- CFExclTaxMoney where fparentid ='hdAAAABSHr2z2FIW'
--- Disposal delivery order
---- Recalculate the amount excluding tax
update CT_HW_TempIssueBillEntry set CFExclTaxMoney= Round( CFAmount/1.06,2)
---- Calculate tax amount
update CT_HW_TempIssueBillEntry set CFTax=CFAmount- CFExclTaxMoney
边栏推荐
猜你喜欢
随机推荐
KubeSphere 集群配置 NFS 存储解决方案-收藏版
JVM tuning ideas
30 SCM common problems and solutions!
JVM的垃圾回收机制
Go log -uber open source library zap use
Functional continuous
信息系统项目管理师---第七章 项目成本管理
下载cuda和cudnn
Altium Designer 19 器件丝印标号位置批量统一摆放
函数栈帧的形成与释放
JVM overall structure analysis
Luogu p2939 [usaco09feb]revamping trails G
Win 10 如何打开环境变量窗口
【QT小点】实现看门狗功能,检测外部程序是否在运行
What's new in redis4.0 - active memory defragmentation
Built in functions of spark
Dev++ 环境设置C语言关键字显示颜色
软件测试年终总结报告模板
机 器 学 习
426-二叉树(513.找树左下角的值、112. 路径总和、106.从中序与后序遍历序列构造二叉树、654. 最大二叉树)








