当前位置:网站首页>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
边栏推荐
- Contents in qlistwidget are not displayed
- 网易云音乐params和encSecKey参数生成代码
- 开门小例子学习十种用例图
- Machunmei, the first edition of principles and applications of database... Compiled final review notes
- RTP sending PS stream tool (open source)
- Wechat applet websocket use case
- How win 10 opens the environment variables window
- 洛谷P2939 [USACO09FEB]Revamping Trails G 题解
- Remapping (STM32)
- Leetcode99 week race record
猜你喜欢

使用域名转发mqtt协议,避坑指南

Gao Xiang slam14 lecture - note 1

js实现双向数据绑定

How to check the frequency of memory and the number of memory slots in CPU-Z?

Qt使用Valgrind分析内存泄漏

Remapping (STM32)

STM32 reads IO high and low level status

openresty使用文档

开门小例子学习十种用例图

Niuke practice 101-c reasoning clown - bit operation + thinking
随机推荐
双位置继电器RXMVB2 R251 204 110DC
Comprehensive application of OpenCV in contour detection and threshold processing
Leetcode99 week race record
微信小程序WebSocket使用案例
Using domain name forwarding mqtt protocol, pit avoidance Guide
Webrtc series - Nomination and ice of 7-ice supplement for network transmission_ Model
Asp.Net Core6 WebSocket 简单案例
EasyExcel合并相同内容单元格及动态标题功能的实现
C语言实现定时器
多线程基础部分Part2
Avoid asteroids
【Cocos Creator 3.5.1】input. Use of on
【FPGA】UART串口_V1.1
块级元素&行内元素
LeetCode-515. Find the maximum value in each tree row
NEON优化1:软件性能优化、降功耗怎么搞?
【QT小记】QT中正则表达式QRegularExpression的基本使用
汇编语言-王爽 第13章 int指令-笔记
使用域名转发mqtt协议,避坑指南
Spark's projection