method

size

v2_2_9 - Show latest stable - Class: Fixnum
size()
public

Returns the number of bytes in the machine representation of fix.

1.size            #=> 4
-1.size           #=> 4
2147483647.size   #=> 4