basic numerics to scalars converter