Announcement

Collapse
No announcement yet.

percentages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • A4C
    replied


    thanks my brain isnt working well today

    Leave a comment:


  • 4DSysFan
    replied


    (240 * 60) / 100

    As long as any step does not overflow an integer value...

    Leave a comment:


  • A4C
    started a topic percentages

    percentages

    I know or at least from what I've gathered 4DGL doenst support float numbers. So how would I go about finding percentage of a number.

    i.e. 60% of 240

    normally you would do the typincal math:

    .60 * 240 = X

    X = 144;

    any insight would be greatly appreciated.
Working...
X