Skip to main content
Solved

Setting fixed decimal figures on data

  • October 30, 2014
  • 2 replies
  • 244 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
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings