[ascoders] Re: eine stelle nach 'm komma
- From: André Michelle <am@xxxxxxxxxxxxxxxxxx>
- To: <ascoders@xxxxxxxxxxxxx>
- Date: Tue, 25 Nov 2003 15:39:58 +0100
hi,
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 ) );
gruss
aM
http://www.andre-michelle.com
http://public.extrajetzt.de
------------------------------------------------------
Archiv : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------
- Follow-Ups:
- [ascoders] Re: eine stelle nach 'm komma
- From: Michael Nisi
- References:
- [ascoders] AW: Re: FMX2004 Roadshow
- From: Jursa, Jan (init)
- [ascoders] eine stelle nach 'm komma
- From: Michael Nisi
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
- [ascoders] Re: eine stelle nach 'm komma
- From: Michael Nisi
- [ascoders] AW: Re: FMX2004 Roadshow
- From: Jursa, Jan (init)
- [ascoders] eine stelle nach 'm komma
- From: Michael Nisi