Hello dear community. First time asking a question and learning the basics of scripting.
One part of my script asks the user for a value like this:
let SessionPrice = await input.textAsync (‘Input price per coaching session’);
Then I’m trying to insert that value on a currency field with:
Let CreateField = await MainTable.createRecordsAsync(A{Fields:{“UnitPrice”: SessionPrice}]);
And I get the error:
j: Can’t create records: invalid cell value for field ‘UnitPrc’.
Cell value has invalid format: must be a number
I guess its because its a ‘text’ string and I don’t know how to convert it or make it a ‘currency’.
In advances I’ll appreciate your help.
Thanks…