Parses the input S value into a floating point number
If the S string is empty or Inherited is true, the DefValue is returned.
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseNumber( S: String; DefValue: Single; var Inherits: Boolean ): Single; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: Single
Default Value. If the string is empty, the default value is returned
Inherits
Type: Boolean
Set to True when the input string contains 'inherit' keyword
Type: Single