You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following warning: No validator rejects trailing zeros added to real number decimal portion
I am using CTD to validate: FLOAT(0,10^9)
It feels like this should be fine, and I don't know what the recommended method to "fix" the warning. I could change to REGEX() but that begs the question as to the value of FLOAT().
Any hints would be appreciated.
The text was updated successfully, but these errors were encountered:
I recommend using the CTD feature FLOATP rather than FLOAT, because FLOATP allows you to specify the maximum number of digits after the decimal point. It's generally a good idea (IMO) to specify the maximum precision for a problem (and give this information in the problem as well). See for example the input specification for https://open.kattis.com/problems/dartscoring
I got the following warning:
No validator rejects trailing zeros added to real number decimal portion
I am using CTD to validate:
FLOAT(0,10^9)
It feels like this should be fine, and I don't know what the recommended method to "fix" the warning. I could change to REGEX() but that begs the question as to the value of FLOAT().
Any hints would be appreciated.
The text was updated successfully, but these errors were encountered: