Difference between revisions of "Percent sign"

From Free Pascal wiki
Jump to navigationJump to search
Line 1: Line 1:
 
{{Percent sign}}
 
{{Percent sign}}
  
<div style="float:left; margin: 0 25px 20px 0; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">%</div>
+
<div style="float:right; margin: 0 25px 20px 0; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">%</div>
  
 +
In [[ASCII]], the character code decimal <syntaxhighlight lang="pascal" enclose="none">37</syntaxhighlight> (or hexadecimal <syntaxhighlight lang="pascal" enclose="none">25</syntaxhighlight>) is defined to be <syntaxhighlight lang="pascal" enclose="none">%</syntaxhighlight> .
  
The symbol % (pronounced "percent sign") is used in [[Pascal]]:
+
The symbol <syntaxhighlight lang="pascal" enclose="none">%</syntaxhighlight>  (pronounced "percent sign") is used in [[Pascal]]:
 
* it indicates a [[Binary numeral system|binary numeral expression/number]].
 
* it indicates a [[Binary numeral system|binary numeral expression/number]].
  
The percent sign also appears in Lazarus [[IDE directives]] of the form <syntaxhighlight lang="delphi" enclose="none">{%directive}</syntaxhighlight>
+
The percent sign also appears in Lazarus [[IDE directives]] of the form <syntaxhighlight lang="pascal" enclose="none">{%directive}</syntaxhighlight>
 
 
[[Category:Symbols]]
 
[[Category:Pascal]]
 

Revision as of 20:39, 5 July 2019

English (en) suomi (fi) français (fr) português (pt) русский (ru)

%

In ASCII, the character code decimal 37 (or hexadecimal 25) is defined to be % .

The symbol % (pronounced "percent sign") is used in Pascal:

The percent sign also appears in Lazarus IDE directives of the form {%directive}