Number formatting in 2D text drawable
- Aug 14 at 10:43AM
I've created a 2D text drawable inside a plotting panel. This field is intended to move around following the moving object. I want to display the velocity of the object using this 2D text drawable so I typed "v="+v in the text field. The prompt and value of v were displayed but the problem is it automatically gives the full decimal of v, such as giving v=2.1354816846815 which moves around the plotting area.
There is no format field in the properties for 2D text drawable. How can I format the value of v to be displayed in 2 decimal places?