let number = 11000000/3;
const input = document.querySelector('input');
const rounded = function(number){
return +number.toFixed(2);
}
let str = rounded(number);
input.value = str.toString().replace(/(^0|[A-Za-zА-Яа-яЁё]|\s)/, '').replace(/(\d)(?=(\d{3})+(\D|$))/g, '$1 ') + `p`;
// 3 666 666.67p