Fractional expression

blocks (1)

How can I show the integer part in the button. thank you

Outputs 2.
IntB;ocks

How do I code to print button text

Do you mean like this :point_down:

IMG_20200323_161352

Select the button for which you want to set the text. In its designer tab :point_down: :

  1. Tick-mark the HTML format property present under Advance property.

  2. Add the button text as shown in screenshot above i.e. 2 ⅚ . Note that the ‘56’ in the text is variable, and can be changed as per your need Ex. ¾

The above will display result as :point_down:

Screenshot_2020-03-23-16-44-03-82_bcf19fdaab5f528e1a140238641ca633

5 Likes

thank you so much Vaibhav

2 Likes

how to do if want to show 1+12/13

Just change the HTML text to 1+12⁄14 which will show as :point_down:

1+12⁄14

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.