WSH kaufmännisches Runden
Hallo,
ich benötige mal wieder Eure Hilfe
der Befehl round(0.125 , 2) liefert mir in WSH das Ergebnis "0,12" statt das kaufmännisch richtige "0,13"
Wie krieg ich es hin, in WSH kaufmännisch zu runden?
Danke im Voraus
Wie krieg ich es hin, in WSH kaufmännisch zu runden?
Danke im Voraus
Please also mark the comments that contributed to the solution of the article
Content-Key: 115082
Url: https://administrator.de/contentid/115082
Printed on: April 19, 2024 at 22:04 o'clock
3 Comments
Latest comment
Hallo zusammen,
Oder so:
Gruß Dieter
Oder so:
WScript.Echo FormatNumber(0.125, 2) '= 0,13
Wscript.Echo FormatCurrency(0.125, 2) '= 0,13 €
Gruß Dieter