<?php
function cleanPrice($pris) {
switch($last) {
case "k": $scale = 1000; break;
case "m": $scale = 1000000; break;
default: $scale = 1;
}
}
echo cleanPrice('1.4m');
PD9waHAKCmZ1bmN0aW9uIGNsZWFuUHJpY2UoJHByaXMpIHsKICAgICRsYXN0ID0gc3Vic3RyKCRwcmlzLCBzdHJsZW4oJHByaXMpLTEpOwogICAgc3dpdGNoKCRsYXN0KSB7CiAgICAgICAgY2FzZSAiayI6ICRzY2FsZSA9IDEwMDA7IGJyZWFrOwogICAgICAgIGNhc2UgIm0iOiAkc2NhbGUgPSAxMDAwMDAwOyBicmVhazsKICAgICAgICBkZWZhdWx0OiAkc2NhbGUgPSAxOwogICAgfQogICAgcmV0dXJuIHByZWdfcmVwbGFjZSgnL1teLTAtOS5dLycsICcnLCAkcHJpcykgKiAkc2NhbGU7Cn0KCmVjaG8gY2xlYW5QcmljZSgnMS40bScpOw==