[ascoders] eine stelle nach 'm komma
- From: Michael Nisi <_@xxxxxxxxxxxxxxx>
- To: ascoders@xxxxxxxxxxxxx
- Date: Tue, 25 Nov 2003 15:26:13 +0100
eine stelle nach dem komma. wer weiss es besser?
...
var t = (result.total/1000).toString();
var l = (result.loaded/1000).toString();
this.total = t.substring(0, t.indexOf(".") + 2);
this.loaded = l.substring(0, l.indexOf(".") + 2);
... funktioniert zwar, kommt mir aber zu rödelig vor.
Math.postComma(1)?
- michael
--
MichaelNisi.com
------------------------------------------------------
Archiv : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------
- Follow-Ups:
- [ascoders] Re: eine stelle nach 'm komma
- From: André Michelle
- [ascoders] Re: eine stelle nach 'm komma
- From: Mario Klingemann
- References:
- [ascoders] AW: Re: FMX2004 Roadshow
- From: Jursa, Jan (init)
Other related posts:
- [ascoders] Re: eine stelle nach 'm komma
- From: André Michelle
- [ascoders] Re: eine stelle nach 'm komma
- From: Mario Klingemann
- [ascoders] AW: Re: FMX2004 Roadshow
- From: Jursa, Jan (init)