You cannot declare the datatype of a literal. Adaptive Server treats all character literals as varchar. Numeric literals entered with E notation are treated as float; all others are treated as exact numerics:
Literals between 231 - 1 and -231 with no decimal point are treated as integer.
Literals that include a decimal point, or that fall outside the range for integers, are treated as numeric.
To preserve backward compatibility, use E notation for numeric literals that should be treated as float.