We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4bd71b commit 30e5c71Copy full SHA for 30e5c71
1 file changed
CSharpToJavaScript/Walker.cs
@@ -2241,8 +2241,7 @@ public override void VisitLiteralExpression(LiteralExpressionSyntax node)
2241
string _value = asToken.Text;
2242
2243
_value = _value.Replace("_","");
2244
- _value = _value.Replace(',', '.');
2245
-
+
2246
if (_value.EndsWith('f') ||
2247
_value.EndsWith('d') ||
2248
_value.EndsWith('m') ||
@@ -2279,6 +2278,8 @@ public override void VisitLiteralExpression(LiteralExpressionSyntax node)
2279
2278
}
2280
2281
+ _value = _value.Replace(',', '.');
2282
2283
VisitLeadingTrivia(asToken);
2284
2285
JSSB.Append(_value);
0 commit comments