AviSynth / AviSynthPlus

AviSynth with improvements
http://avs-plus.net
977 stars 75 forks source link

Auto rounding numbers? #372

Closed Uzver123 closed 1 year ago

Uzver123 commented 1 year ago

If i do like 1000/3 it outputs 333 not 333.33333

then if i do (1000/3)*3 i am getting 999, not 1000

pinterf commented 1 year ago

Try using decimal point, e.g. 1000/3.0 or 1000./3 Both numbers are integers, so integer division is used.

Uzver123 commented 1 year ago

Yep did just that and it works.