Sinal de mais

DiogoMeurer shared this question 3 years ago
Answered

Eu criei duas frações aleatórias, mas preciso que o GeoGebra mostre o sinal de mais quando a fração for positiva. Como eu consigo fazer isso?

Comments (3)

photo
2

For such a problem I create a conditional text for the addition: sign1=Als(t2<0, "-", "+")

Then in the numerator of the second fraction I write the absolute value, so the right sign appears before the fraction and not in the fraction itself.

/xhvp9qU71AAAAAElFTkSuQmCC

photo
1

thank you so much!!

photo
photo
2

If you're happy with lowest terms then you can use FractionText(abs(a)) together with sign1=If(0, "-", "+")

© 2023 International GeoGebra Institute