Skip to content

Commit 108ec73

Browse files
chris-evolvedbinaryadamretter
authored andcommitted
[bugfix] Change the type of the format-integer function argument
1 parent 1cb2850 commit 108ec73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exist-core/src/main/java/org/exist/xquery/functions/fn/FnFormatIntegers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
*/
4747
public class FnFormatIntegers extends BasicFunction {
4848

49-
private static final FunctionParameterSequenceType FS_PARAM_VALUE = optParam("value", Type.NUMBER, "The number to format");
49+
private static final FunctionParameterSequenceType FS_PARAM_VALUE = optParam("value", Type.INTEGER, "The number to format");
5050
private static final FunctionParameterSequenceType FS_PARAM_PICTURE = param("picture", Type.STRING, "The picture string to use for formatting. To understand the picture string syntax, see: https://www.w3.org/TR/xpath-functions-31/#func-format-number");
5151

5252
private static final String FS_FORMAT_INTEGER_NAME = "format-integer";

0 commit comments

Comments
 (0)