-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Cant't locate the current c# literal documentation at the moment but looking at F# :
https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/literals
It seems like D, F and M should all be valid as suffixes for the following in your grammar.
DOUBLE : ('-')? ('0'..'9')+ '.' ('0'..'9')+ 'd'?;
SINGLE : ('-')? ('0'..'9')+ '.' ('0'..'9')+ 'f';
DECIMAL : ('-')? ('0'..'9')+ '.' ('0'..'9')+ 'm';
I was running into this : System.InvalidCastException: Specified cast is not valid. doing some basic parsing of a filter on a generic List of Dictionary<string, object>>
"[pressure] eq 132323432.453454M"
does not work but "[pressure] eq 132323432.453454m"
works.
Metadata
Metadata
Assignees
Labels
No labels