AviSynth / AviSynthPlus

AviSynth with improvements
http://avs-plus.net
930 stars 74 forks source link

Auto rounding numbers? #372

Closed Uzver123 closed 8 months ago

Uzver123 commented 8 months 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 8 months ago

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

Uzver123 commented 8 months ago

Yep did just that and it works.