NumberExtensions class