BASIC

Author Topic: How to VAL an string  (Read 2847 times)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10713
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: How to VAL an string
« Reply #15 on: 2012-Jan-09 »
Really,
Code: GLBasic [Select]
Function tofloat: f
Return f
Endfunction
 
works the best, because it works with all data types (except TYPEs)