Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decimal precision
Message
From
23/05/2012 10:57:09
 
 
To
23/05/2012 09:32:08
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01544101
Message ID:
01544147
Views:
25
>I don't think that is possible - due to rounding scenarios
>
>Take this for example
>
>
>Provincial tax on  $1.74 is round(1.74 * .095, 2) or $0.17
>
>What amount is the base of $0.17 tax ?
>
>round($.017 / .095,2)  = $1.79  (see how this compares to the original $1.74)
>
>
>iow, you need the Total including all taxes, and knowing the two percentages and the order in which they were applied, you work your way back

This is what I think too but I will take a look at the other message you provided.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform