[#72468836] Refactored price formatting with HTML5 validation.

Signed-off-by: Jenny Allar <jennyallar@gmail.com>