We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8972020 commit a8d802dCopy full SHA for a8d802d
Onion/SourceCode/ast/lib/Functions.cs
@@ -423,7 +423,7 @@ public class ForIntToChar : Function
423
public Value execute(Value[] args)
424
{
425
if (args.Length != 1) throw new Exception("One arg expected");
426
- return new StringValue(args[0].asString());
+ return new StringValue(((char)args[0].asNumber()).ToString());
427
}
428
429
0 commit comments