MantisBT donīt check value type entered in Custom Fields.
(for example I can enter "AA" in Custom Field type Float or Numeric)
 
Regards.
Leandro.