DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
c++ how to make a negative float positive
float f{-0.27452}; std::cout << fabs(f) << std::endl; // 0.27452
PREVIOUS
NEXT
Tagged:
#negative
#float
#positive
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit