Not all primitives are listed here; for the complete list, see Primitive data types.
mySalary DECIMAL(9,2) = 30000.00;
speedOfLight FLOAT = 299800000;
speedOfLight FLOAT = 2.998e8;
Here 2.998e8 means
2.998 x 108.myUSState STRING(2) = "TX";
Note
that when you assign a STRING value, you place it inside double quotes.For variables based on any of these date and time types, you can specify formats for input and output. For more information, see Date/time masks and format specifiers.