The FTB Forum is now read-only, and is here as an archive.
To participate in our community discussions, please join our Discord! https://ftb.team/discord
function niceNums(num){
if(typeof(num)=="string"){
num=Number(num.match(/[\d\.]+/))
}
//make the number a string and make sure it always has two decimals 1234 becomes 1234.00
var str=num.toFixed(2);
and num is for some reason undefined. Debug time!