Am 02.07.2013 um 10:25 schrieb Stefan Sicurella <sicure...@onlymac.de>:

> Du musst es über den Funktionsaufruf machen...
> 
> Function runden_schweiz(myFloatValue as double) As double
> dim d as Double
> d = myFloatValue*20
> msgbox str(d) // zeigt 37779,77 an anstatt 3780,00

bei mir zeigt es 3780.

> return floor(d)/20

nimm doch mal round hier.


Gruß
Christian

-- 
MBS Xojo Developer Conference 2013

More details and registration here:
http://www.monkeybreadsoftware.de/realbasic/events/







Antwort per Email an