After struggling in the beginning with sizes, I accidentally discovered that if we are only concerned with the number of digits after the decimal, writing the number of digits after dot(.) works fine. e.g. if we want only two digits after decimal just use %.2f
@joephillthomas Жыл бұрын
maam what is meant by minimum width of floating number?