Data transformation functions for numbers