File tree Expand file tree Collapse file tree
src/main/java/com/scriptbasic/utility/functions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,15 +149,15 @@ public static Long length(final Object arg) {
149149 @ BasicFunction (classification = Utility .class )
150150 public static Double cdbl (final Object arg ) throws BasicRuntimeException {
151151 if (arg == null ) {
152- throw new BasicRuntimeException ("NULL cannot be converted to double" );
152+ throw new BasicRuntimeException ("undef cannot be converted to double" );
153153 }
154154 return BasicDoubleValue .asDouble (RightValueUtility .createRightValue (arg ));
155155 }
156156
157157 @ BasicFunction (classification = Utility .class )
158158 static public Long clng (final Object arg ) throws BasicRuntimeException {
159159 if (arg == null ) {
160- throw new BasicRuntimeException ("NULL cannot be converted to long" );
160+ throw new BasicRuntimeException ("undef cannot be converted to long" );
161161 }
162162 return BasicLongValue .asLong (RightValueUtility .createRightValue (arg ));
163163 }
You can’t perform that action at this time.
0 commit comments