Added numerical conversion functions