-
Notifications
You must be signed in to change notification settings - Fork 664
Sprintf.js
agershun edited this page Mar 17, 2015
·
1 revision
You can use standard sprintf() function for format dates and numbers:
alasql.fn.sprintf = sprintf;
var res = alasql('SELECT sprintf("%b",123)');
See full example in jsFiddle.
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo