Navigation
Topics Register • News • History • How to • Sequences statistics • Template prototypes

Template:Is Long number

From Prime-Wiki
Revision as of 10:28, 29 June 2021 by Karbon (talk | contribs) (new)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Determines if a given parameter is a Long number.

Usage

{{Is Long number|<value>}} Returning 1, if <value> is a Long number (containing a "..." or beginning with "N"), 0 otherwise.

Examples

  • {{Is Long number|1234567}}: 0
  • {{Is Long number|N1100000000000108402}}: 1
  • {{Is Long number|1341282742...05}}: 1