The front end The toString () parameters January 5, 2024 by Roy Hughes No Comments Based on the data is the Number type: var numVal=32; numVal.toString(2) //100000 numVal.toString(8) //40 numVal.toString(10) //32 numVal.toString(16) //20