Forum Discussion

russelld's avatar
russelld
Contributor
7 years ago

Rounding

Hi,

 

I'm trying to get two decimal places.  Any suggestions?

 

Aliases.panelWorkspace.partSales.customerDataWindow.totalGst, "Value", 0, aqConvert.StrToFloat(Aliases.panelWorkspace.partSales.customerDataWindow.subTotal.Value) * 0.14999999999999999, true

  • Got it to work...

    aqConvert.CurrencyToStr(aqConvert.StrToCurrency(Aliases.panelWorkspace.partSales.customerDataWindow.subTotal.Value) * 0.15)

  • Got it to work...

    aqConvert.CurrencyToStr(aqConvert.StrToCurrency(Aliases.panelWorkspace.partSales.customerDataWindow.subTotal.Value) * 0.15)