Format specifier of numeric types

Report a typo

Match each of the fmt package verbs with their description:

Match the items from left and right columns
%d
%b
%f
%.2f
formats in the decimal (base 10) form of the integer number
formats a numeric value in the floating form (default precision)
formats in the binary (base 2) form of the integer number
formats a number value in the floating form with the precision length 2
___

Create a free account to access the full topic