001 /** 002 * Implements the Cold Fusion Function lsiscurrency 003 */ 004 package railo.runtime.functions.international; 005 006 import railo.runtime.PageContext; 007 import railo.runtime.ext.function.Function; 008 009 public final class LSIsNumeric implements Function { 010 011 private static final long serialVersionUID = 4753476752482915194L; 012 013 public static boolean call(PageContext pc , String string) { 014 return call(pc, string, null); 015 } 016 017 public static boolean call(PageContext pc , String string,String strLocale) { 018 try { 019 LSParseNumber.call(pc,string,strLocale); 020 return true; 021 } catch (Throwable t) { 022 return false; 023 } 024 } 025 }