The problem of taking 100x of js

you need to get the maximum multiple of 28730.01 from a random number greater than 100, say 28730.01, and you can get 28700
876. How do you achieve this?

Mar.09,2021

is very simple, for example, if this number is n, first divide by 100, then round off all the decimals, and finally multiply by 100, you can

function getMultiple(num) {
    return parseInt(num / 100) * 100
};
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e43864-59a8e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e43864-59a8e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?