question

Upvotes
Accepted
3 0 1 2

DataRequest get Decimals

Hello,

i have the following DataRequest (https://pastebin.com/YNXjvCPC) and it works like a charm.

Now, I need to obtain at least 4 decimals for the P and RI data types. How Can i obtain those decimals?

I have tried with adding a "DecimalPlaces" property in DataTypes->Properties but I obtain "INVALID CODE OR EXPRESSION ENTERED" error.

Can you help me?

Thanks in advance

datastream-apidsws-apirest-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
681 2 2 1

Hi,

You can use the DPL# function. DPL#(X(RI),4).

For general questions regarding DS functionality. I would advise speaking directly to the helpdesk to ensure a more prompt resolution.

Best regards

James

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea