PlayMaker Feedback > Action Requests

String to Float with Case for if Invalid

(1/1)

westingtyler:
My game keeps hanging when players put in a time string, then the String to Float can't handle it. Would be great if there was a case in this action for "do if not a valid float/or is empty".

jeanfabre:
Hi,

 what action are you using exactly for this?

ConvertFormatedStringToFloat should not throw any error if the string is not formatted properly.

 Bye,

 Jean

Navigation

[0] Message Index

Go to full version