Spec-Zone.ru › ColdFusion

lsIsNumeric

Determines whether a string is a valid representation of a number in the current locale.

lsIsNumeric(String) → returns boolean

  • CF
  • Lucee
  • BL 1.0.0+
  • Argument Reference

    String string
    Required

    Examples
    Sample code invoking the lsIsNumeric function

    Simple Lsisnumeric Example

    Check whether the string is number or not in locale

    lsIsNumeric('Ten')

    Expected Result: NO

    Simple Lsisnumeric Example

    Check whether the string is number or not in locale

    lsIsNumeric('4678')

    Expected Result: YES

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/lsisnumeric

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API