Check out example codes for "sql value of string". It will help you in understanding the concepts better.

Code Example 1

-- Specifically for Oracle

-- EXAMPLE
CAST('732.98' AS INT)

/* SYNTAX
CAST(<value_to_cast> AS <data_type_to_cast_to>)
*/

Code Example 2

SELECT CAST(25.65 AS int);

Learn ReactJs, React Native from akashmittal.com