Page 1 of 1

Select a convenient declaration and initialization of a floating point number:

Posted: Wed Jul 13, 2022 7:56 pm
by answerhappygod
a) float somevariable = 12.502D
b) float somevariable = (Double) 12.502D
c) float somevariable = (float) 12.502D
d) float somevariable = (Decimal)12.502D