QML highest number (float/integer) possible
问题 In JavaScript the highest integer possible is defined via Number.MAX_SAFE_INTEGER. and also in C++ can be obtained with the std: std::numeric_limits<int>::max() Is there such a constant in QML for ints or doubles? 回答1: As originally suspected, the 2000000000 number listed in the documentation is incorrect. Also, IMO this is an important value that shouldn't really be subject to such careless approximations. "Around" should only be used when the actual value is unknown for certain or not