รวม code ปรับปรุงตาม change request จากทีม
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
|
||||
function formatNumber(num) {
|
||||
if(num === "" || num === null) return "";
|
||||
return num.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1,')
|
||||
}
|
||||
|
||||
function getUrlParameter(sParam) {
|
||||
var sPageURL = decodeURIComponent(window.location.search.substring(1)),
|
||||
sURLVariables = sPageURL.split('&'),
|
||||
|
||||
Reference in New Issue
Block a user