gsql_to_int()
Converts the string representation of an integer into an integer.
- 
If the input string is the string representation of an int, the function returns that integer. 
- 
If the input string is the string representation of a float, the function returns that number cast as an integer.