Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Setting Decimal property of Object [V8]

0
0
Hello. I'm trying to set a value to a decimal property of an object. Setting integer values works but for decimals "Error: Invalid property assignment" error thrown.

Works Fine
MyObject.Price = 1
Invalid property assignment thrown
MyObject.Price = 1.5

Viewing all articles
Browse latest Browse all 2297