[eluser]TheFuzzy0ne[/eluser]
Is there a simple way to cast a variable from a validation rule?
I need something like this:
Code:
function force_int($int) { return (int)$int; }
...but hopefully, without having to create a custom helper. Does anyone know if there is a native equivalent?