Page 1 of 1

using sysparm to pass decimal value

Posted: February 9th, 2018, 8:45 am
by bmuganda
Is it possible to use sysparm function to pass decimal value such as latitude and longitude?

Any ideas?

Re: using sysparm to pass decimal value

Posted: February 9th, 2018, 10:19 am
by josh
Yes. You can write the decimal value to the pff file. When you load it using sysparm it will be a string but you can use tonumber() to convert it to a decimal. Something like:
numeric decimalVal = tonumber(sysparm("MYDECIMALPARAM"));

Re: using sysparm to pass decimal value

Posted: February 22nd, 2018, 8:03 am
by bmuganda
Thanks Josh

Yea actually it worked for

Regards

Boniface