Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:create:filter-texts [06.12.2014 15:09] – [Numbers in the Input] alexander.ritteren:create:filter-texts [10.12.2014 15:26] – [Numbers in the Input] alexander.ritter
Line 95: Line 95:
 </code> </code>
  
-Likewise, PHP can be instructed to convert the participant's input into a number as far as possible. Therefore, "5b" becomes ''5''. The conversion takes place with the function ''intval()'' or with the prefix ''(int)'' (so-called type casting). +Likewise, PHP can be instructed to convert the participant's input into a number as best as possible. Therefore, "5b" becomes ''5''. The conversion takes place with the function ''intval()'' or with the prefix ''(int)'' (type casting). 
  
 <code php> <code php>
en/create/filter-texts.txt · Last modified: 15.01.2015 20:23 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki