Files
cell/test_shop/.cell/modules/jj_mod@v0.6.3/utils.js
John Alanbrook 939269b060
Some checks failed
Build and Deploy / build-macos (push) Failing after 7s
Build and Deploy / build-linux (push) Has been cancelled
Build and Deploy / build-windows (CLANG64) (push) Has been cancelled
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled
initial modules attempt
2025-05-29 18:48:19 -05:00

15 lines
254 B
JavaScript

// Example module file for jj_mod
function format_number(n) {
return n.toFixed(2)
}
function random_range(min, max) {
return Math.random() * (max - min) + min
}
return {
format_number: format_number,
random_range: random_range,
PI: 3.14159
}