Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: westingtyler on November 13, 2018, 05:10:15 PM

Title: String to Float with Case for if Invalid
Post by: westingtyler on November 13, 2018, 05:10:15 PM
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".
Title: Re: String to Float with Case for if Invalid
Post by: jeanfabre on November 14, 2018, 01:12:45 AM
Hi,

 what action are you using exactly for this?

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

 Bye,

 Jean