Skip to main content
Solved

Setting fixed decimal figures on data

  • October 30, 2014
  • 2 replies
  • 374 views

I am generating a textfile from positions and want to add decimal figures (zeroes) to fit with the formating. All data should have four decimal places:

 

 

e.g. turn 84.54 m should be 84.5400 m

 

 

The rounder transformers only remove decimal figures, but doesn't work for adding zeroes. I do not want to add data, just zero decimals.

 

 

/Burbank

Best answer by david_r

Hi,

 

 

try the StringFormatter:

 

 

 

 

David
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • Best Answer
  • October 30, 2014
Hi,

 

 

try the StringFormatter:

 

 

 

 

David

  • Author
  • November 3, 2014
Thank you!