A method of variable-radix representation of numeric data is presented. The method allows compact representation of arbitrary numbers. Among its properties is that bitwise lexicographic comparison (>, <) is consistent with correct numeric comparison of numbers.