question

Upvotes
Accepted
3 1 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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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