Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I fill a container with a floating point value (decimal) in RoboLab 2.9?

0
Posted

How do I fill a container with a floating point value (decimal) in RoboLab 2.9?

0

To fill a container with a decimal value: • Drag a “Fill Container” block into your program. • Select the wiring tool, and right click on the “Set container to” node. A menu should appear. • Scroll down the menu and choose Create –> Constant. A blue wire and blue constant box with a “1” in it should appear. If you try to type in a decimal, it will be truncated to an integer. • To change this, right click within the blue constant box. A menu should appear. • Scroll down the menu to Representation. Another menu box should appear. • Select the DBL or Double Precision box. • The blue box and wire should become orange to indicate floating point status. You should now be able to type in a decimal without it being truncated.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123