当前位置:网站首页>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
边栏推荐
猜你喜欢

Altium Designer 19 器件丝印标号位置批量统一摆放

Run opcua protocol demo on raspberry pie 4B to access kubeedge

C Primer Plus 第11章_字符串和字符串函数_代码和练习题
软件测试年终总结报告模板

How win 10 opens the environment variables window

爬虫学习5---反反爬之识别图片验证码(ddddocr和pytesseract实测效果)

Using domain name forwarding mqtt protocol, pit avoidance Guide

KubeSphere 集群配置 NFS 存储解决方案-收藏版

426 binary tree (513. find the value in the lower left corner of the tree, 112. sum of paths, 106. construct a binary tree from the middle order and post order traversal sequence, 654. maximum binary

古典密码体制--代换和置换
随机推荐
Matlab quickly converts two-dimensional coordinates of images into longitude and latitude coordinates
多线程基础部分Part3
427-二叉树(617.合并二叉树、700.二叉搜索树中的搜索、98. 验证二叉搜索树、530.二叉搜索树的最小绝对差)
Webrtc series - Nomination and ice of 7-ice supplement for network transmission_ Model
主动学习(active learning)
tracepoint
Spark 之 WholeStageCodegen
QListWidgetItem上附加widget
树莓派4B上运行opcua协议DEMO接入kubeedge
openstack实例重启状态就会变成错误处理方法,容器搭建的openstack重启计算节点compute服务方法,开机提示Give root password for maintenance处理方法
【QT小记】QT中正则表达式QRegularExpression的基本使用
Dual position relay dls-34a dc0.5a 220VDC
The SCP command is used in the expect script. The perfect solution to the problem that the SCP command in the expect script cannot obtain the value
思维的技术:如何破解工作生活中的两难冲突?
JVM整体结构解析
1317. 将整数转换为两个无零整数的和
Altium designer 19 device silk screen label position shall be placed uniformly in batches
Neon optimization 1: how to optimize software performance and reduce power consumption?
What's new in redis4.0 - active memory defragmentation
Dev++ 环境设置C语言关键字显示颜色