Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes.
Known Issue: Xatheral has been temporarily disabled while we investigate a bug with Year of the Dragon gift delivery.DDO Forums edit
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!
Template:IsNaN
USAGE[edit]
{{ isNaN | 1 | passthrough = true/false | false value = * | true value = * }}
|1=
- Thing to test if it is NaN.|passthrough=
- if it is a number, send the input or|false value=
back; if it is not a number, send back|true value=
or TRUE.|false value=
- send this back if it is a number instead of the input.|true value=
- send this back if it is not a number instead of TRUE.
EXAMPLES[edit]
{{ isNaN }}
→ TRUE{{ isNaN | This is not a number }}
→ TRUE{{ isNaN | 98,234 }}
→ 98,234{{ isNaN | 98234 }}
→ 98234{{ isNaN | 98234 | passthrough = no }}
→ FALSE{{ isNaN | 98,234 | passthrough = false }}
→ FALSE{{ isNaN | This is not a number | false value = no | true value = yes }}
→ yes{{ isNaN | 98,234 | false value = no | true value = yes }}
→ no{{ isNaN | This is not a number | passthrough = false | false value = no | true value = yes }}
→ yes{{ isNaN | 98,234 | passthrough = false | false value = no | true value = yes }}
→ no
CATEGORIZATION[edit]
CODING[edit]
The code in this section is "includeonly" transcluded onto the page.