Improve help message to specify an integer is returned

This commit is contained in:
Tom Morris 2013-09-18 11:12:34 -04:00
parent f344e3da1c
commit d84f897ae0

View File

@ -57,7 +57,7 @@ public class Floor implements Function {
throws JSONException { throws JSONException {
writer.object(); writer.object();
writer.key("description"); writer.value("Returns the floor of a number"); writer.key("description"); writer.value("Returns the floor of a number as an integer");
writer.key("params"); writer.value("number d"); writer.key("params"); writer.value("number d");
writer.key("returns"); writer.value("number"); writer.key("returns"); writer.value("number");
writer.endObject(); writer.endObject();