[ascoders] Re: eine stelle nach 'm komma
- From: Michael Nisi <_@xxxxxxxxxxxxxxx>
- To: ascoders@xxxxxxxxxxxxx
- Date: Tue, 25 Nov 2003 15:36:36 +0100
ja bitte. ...und mit zucker.
danke andré
- michael
André Michelle wrote:
mit den Stellen vor dem Komma ?
a = 104.5234;
Number.prototype.postComma = function ( counts ) {
var pot = Math.pow ( 10 , counts );
return int( a * pot ) / pot;
}
trace ( a.postComma( 2 ) );
--
MichaelNisi.com
------------------------------------------------------
Archiv : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------
- References:
- [ascoders] AW: Re: FMX2004 Roadshow
- From: Jursa, Jan (init)
- [ascoders] eine stelle nach 'm komma
- From: Michael Nisi
- [ascoders] Re: eine stelle nach 'm komma
- From: André Michelle
Other related posts:
- » [ascoders] eine stelle nach 'm komma
- » [ascoders] Re: eine stelle nach 'm komma
- » [ascoders] Re: eine stelle nach 'm komma
- » [ascoders] Re: eine stelle nach 'm komma
- » [ascoders] Re: eine stelle nach 'm komma
- » [ascoders] Re: eine stelle nach 'm komma
- » [ascoders] Re: eine stelle nach 'm komma
a = 104.5234;
Number.prototype.postComma = function ( counts ) {
var pot = Math.pow ( 10 , counts );
return int( a * pot ) / pot;
}trace ( a.postComma( 2 ) );
- [ascoders] AW: Re: FMX2004 Roadshow
- From: Jursa, Jan (init)
- [ascoders] eine stelle nach 'm komma
- From: Michael Nisi
- [ascoders] Re: eine stelle nach 'm komma
- From: André Michelle