News blog

What is Servoy?

Getting Started

Comparison Servoy/VFP




Code Reference


VFP2Servoy Toolkit



Contact / feedback















VAL() - utils.stringToNumber()

Returns a numeric value from a character expression composed of numbers.


VFP code example

? VAL("34.56") && returns: 34.56


Servoy code example

utils.stringToNumber("34.56") // returns: 34.56

// but watch out!

utils.stringToNumber("-34.56") // returns: 34.56 too!!

// alternatively:

globals.VAL("34.56");         // returns: 34.56

Note: VAL() is a function of the VFP2Servoy Toolkit



External resources:


vfp plugin


ServoyWorld 2012 pics


Official Servoy website


Ken Levy on Servoy


Servoy info


Servoy Forum


Servoy Documentation © 2010-2012 • All rights reserved • Contact: