Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Force String to Float?
- From: tedd at sperling.com (tedd)
- Subject: [Javascript] Force String to Float?
- Date: Tue May 15 10:35:23 2007
At 7:35 AM -0500 5/15/07, Triche Osborne wrote: >tedd wrote: >>At 2:30 AM +0100 5/15/07, Matt Warden wrote: >>>On 5/15/07, tedd <tedd@xxxxxxxxxxxx> wrote: >>>>So, how do I force a string to a float? >>> >>>parseFloat(...) >> >> >>I tried that, but found it problematic. >> > >Problematic? How so? It's core JS. What sort of problem have you >encountered with it? > >Triche Well... it was problematic for me in trying to convert a string into a float. I'm sure it was my mistake -- I'm dyslexic. Taking a string * 1 seems much more straightforward and easier for me to comprehend. But, I'll try it again. Thanks, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com
- References:
- [Javascript] Force String to Float?
- From: Matt Warden
- [Javascript] Force String to Float?
- From: tedd
- [Javascript] Force String to Float?
- From: Triche Osborne
- [Javascript] Force String to Float?
- Prev by Date: [Javascript] Force String to Float?
- Next by Date: [Javascript] Force String to Float?
- Previous by thread: [Javascript] Force String to Float?
- Next by thread: [Javascript] Force String to Float?
- Index(es):