Checks if a string is a decimal number.
The string to validate.
Options for decimal validation.
true if the string is a valid decimal, false otherwise. Examples of valid decimals: "0.1", "0.3", "1.1", "1.00003", "4.0".
true
false
"0.1"
"0.3"
"1.1"
"1.00003"
"4.0"
Checks if a string is a decimal number.