|
@@ -291,3 +291,10 @@ func DecimalDivSS(v1 string, v2 string) float64 {
|
|
|
r := DecimalDivFF(StrToFloat(v1), StrToFloat(v2))
|
|
|
return r
|
|
|
}
|
|
|
+
|
|
|
+func DecimalAddSS(v1 string, v2 string) float64 {
|
|
|
+ v1 = AmountFormat2str(v1)
|
|
|
+ v2 = AmountFormat2str(v2)
|
|
|
+ r := DecimalAddFF(StrToFloat(v1), StrToFloat(v2))
|
|
|
+ return r
|
|
|
+}
|