====== Percent Type ====== A Percent value represents a fraction or ratio. [[Genetic Algorithm Tool]] uses it for its ''convergenceLimit'' input, the percentage of fitness variation across generations used to decide when to halt optimization, and for ''metaHeuristicEvaluationPercent'', the percentage of individuals whose fitness is estimated by meta-heuristic evaluation rather than computed directly. ===== GUI Editor ===== [{{ :editors:percent_editor.png?nolink |Graphical representation of the percent editor}}] The percent editor accepts a plain numeric value; it does not accept the ''%'' suffix available in EGO Script. ===== EGO Script ===== A Percent constant can be written in [[EGO Script]] as either a plain fraction between 0 and 1, or as a number followed by ''%'' between 0 and 100. The two forms are interchangeable — ''0.3456'' and ''34.56%'' represent the same value: 0.3456 0.0134 0.0054 34.56% 1.34% 0.54% ===== Automatic Conversions ===== * **Converted from**: [[Real Value Type]]. * **Converted to**: None. See [[type_system|Type System]] for the complete conversion reference across all types.