Open lostmsu opened 3 years ago
DynamicExpresso.Interpreter used by CalcBinding to process expression has not implemented implicit convertion between ulong and int and CalcBinding doesn't support explicit convertion.
To make your code working , just add 'UL' suffix to the constant:
{calc:Binding MemoryUsage.UsedBytes/1024UL, Mode=OneWay}
This outputs raw value in bytes:
{calc:Binding MemoryUsage.UsedBytes, Mode=OneWay}
However, this just outputs empty string (should output kilobytes):
{calc:Binding MemoryUsage.UsedBytes/1024, Mode=OneWay}
UsedBytes
if of typeUInt64
.