GDL
About building parametric objects with GDL.
SOLVED!

How can I exclude if the decimal point is 0 ?

LeeJaeYoung
Virtuoso

A = 1000 B =1000  => 10x10

A = 1150 B =1120  => 11.5x11.2

 

in GDL TEXT2

AC27 on window 11
2 ACCEPTED SOLUTIONS

Accepted Solutions
Solution
LeeJaeYoung
Virtuoso

I found it.

I can create an IF statement that uses the FRA() function... ^^

AC27 on window 11

View solution in original post

Solution
A_ Smith
Expert

TEXT2 0,0,str("%~", 11.5*11.2)

there are different flags for STR function. ~ hide 0 decimals

AC 22, 24 | Win 10

View solution in original post

3 REPLIES 3
Solution
LeeJaeYoung
Virtuoso

I found it.

I can create an IF statement that uses the FRA() function... ^^

AC27 on window 11
Solution
A_ Smith
Expert

TEXT2 0,0,str("%~", 11.5*11.2)

there are different flags for STR function. ~ hide 0 decimals

AC 22, 24 | Win 10

thank you ^^

AC27 on window 11

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!