Thread: float()
View Single Post
  #23  
Old 08-17-2010, 08:36 PM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
Quote:
Originally Posted by Crow View Post
Ideally, throwing it into the float()-bin will return -1 and tell us it's a string this way.
Let's make sure to mention that, in this scenario, a custom sanitation function would be best, as Skyld said.
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote