<?php $amount = '1,00'; $in_cents = (int) str_replace(',', '', $amount) * 100; echo $in_cents;
You have javascript disabled. You will not be able to edit any code.