Lefora Free Forum
login join
Loading
432 views

Convert negative float to a positive float

Page 1
1–3
novice - member
27 posts





Solved just multiple by -1..

?
63 posts

That was easy.. lol I was guessing you use the -float thing, or ! float.

__________________
kompilesoft

come and see my website! it's real cool reviews
?
288 posts

Or use <math.h> abs  (then you don't need an if statement)

__________________
Page 1
1–3

Locked Topic


You must be a member to post in this forum

Join Now!