Template:Math/mod

From Ring of Brodgar
Jump to navigation Jump to search
Template documentation (for the template shown above, sometimes hidden or invisible)
Extended MW Mod functionality.
  • Default Mod function works on int parts only, float parts is ignored.
  • Extend by applying some multiplication to source values, and than dividing the result back down.
  • Default to level zero for the moment. (ie: int mode, default Mod mode)
  • Error/Warning on invalid number/expr input: No. (set to default to zero in troublesome cases)


Notes
  • Math/mod usage should be limited to level 8 max.
pi:	 "3.1415926535898" - #expr:pi result.
m8	 "0.14159265" - Math/mod max precision.
m9:	"0.141592653" - Fails (seems like some overflow result).

Visit Template:Math/mod/doc to edit this text! (How does this work?)