Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# Floating Point Literals

double number = 24.67;// double by default
float value = -12.29F;
double scientificNotation = 6.21e2;// equivalent to 6.21 x 102 i.e. 621
 
PREVIOUS NEXT
Tagged: #Floating #Point #Literals
ADD COMMENT
Topic
Name
9+6 =