Formating predefined functions

format ( format, var )

 

This function returns the variable var formated according the format. The format takes values as:

 

"%10s", "%15.2f", "dd/mm/yyyy", "hh:mm", "%10d",

 

formatfloat ( format, vfloat )

This function returns the vfloat formated according to format

formatdate ( format, vdate )

This function returns the vdate formated according to format

formattime ( format, vtime )

This function returns the vtime formated according to format