View Single Post
Old 08-14-2019, 10:16 AM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 7,929
Default

Quote:
Originally Posted by DarkStar View Post

Also, do those numbers after the decimal point have a mathematical name?
It's called the fractional part. Lua has the function math.modf that returns the first (integral) part and the fractional part.

Code:
local wholepart,fracpart = math.modf(-9.12)
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass, Paul(X)Stretch and λ) :
http://xenakios.wordpress.com/
Xenakios is online now   Reply With Quote