Hello
I have a variable of string type.
String str1 = "312.455"
String str2 = "5"
String str3 = "2.1"
this is a number, declared as a character.
str1 = "312.45"
str2 = "5.00"
srr3 = "2.10"
I want to set the number of decimal places to the second digit from the back
Do you have example code?
I have a variable of string type.
String str1 = "312.455"
String str2 = "5"
String str3 = "2.1"
this is a number, declared as a character.
str1 = "312.45"
str2 = "5.00"
srr3 = "2.10"
I want to set the number of decimal places to the second digit from the back
Do you have example code?