среда, 5 августа 2015 г.

How to move negative sign from back to front

In PI 7.1, If some value are coming in with negative sign at the back, then how to bring the negative sign to front of the value.

eg:

Input   :  6,718.21-

Output : -6718.210000

Answer:

You can use replaceString function to remove '-' then use concat function to add '-' at the start.


 Source

Комментариев нет:

Отправить комментарий