Skip to content

[Bug] Support for decimal qualifiers 'M' & 'm' #91

@pferraris

Description

@pferraris

I run into a problem when I tried to evaluate an expression with a decimal value (eg "0.5m").
ExpressionParser detects it as double, then PromoteExpression method try to convert it to decimal but keeps qualifier 'm' as part of text, and decimal.TryParse("0.11m", out e) returns 0.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions