Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] sort replace question
- From: javascript at mattbarton.org (Matt Barton)
- Subject: [Javascript] sort replace question
- Date: Tue Feb 28 10:42:09 2006
// ----- var y = 3.5; var x = parseFloat(y); var z = y.toString(); alert(z); // ----- Matt Michael Borchers wrote: > what's wrong then?! :( > > var y = 3.5; > var x = parseFloat(y); > > var z = toString(y); > alert(z); > > gives out: [object Window] > > On 2/28/06, *Hassan Schroeder* <hassan@xxxxxxxxxxxxxx > <mailto:hassan@xxxxxxxxxxxxxx>> wrote: > > Michael Borchers wrote: > > i have a flot f.e. 2.5 > > and would like to replace the . with a _ > > > > myFloat.replace('.', '_'); > > myFloat.toString().replace('.', '_'); > > > -- > This email has been verified as Virus free > Virus Protection and more available at http://www.plus.net > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript
- Follow-Ups:
- [Javascript] sort replace question
- From: Nick Fitzsimons
- [Javascript] sort replace question
- From: Paul Novitski
- [Javascript] sort replace question
- References:
- [Javascript] sort replace question
- From: Michael Borchers
- [Javascript] sort replace question
- From: Hassan Schroeder
- [Javascript] sort replace question
- From: Shawn Milo
- [Javascript] sort replace question
- From: Michael Borchers
- [Javascript] sort replace question
- Prev by Date: [Javascript] sort replace question
- Next by Date: [Javascript] sort replace question
- Previous by thread: [Javascript] sort replace question
- Next by thread: [Javascript] sort replace question
- Index(es):