<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">On 16 July 2016 at 09:29, KAKUTO, Akira <span dir="ltr"><<a href="mailto:kakuto@fuk.kindai.ac.jp" target="_blank">kakuto@fuk.kindai.ac.jp</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Norbert,<br>
<span class=""><br>
> What about (int)(stemV->getNum() + 0.5) (for positive values of stemV)<br>
> to get closest round integer?<br>
<br>
</span>I think that is better than mine. Thank you.<br>
<span class=""><font color="#888888"><br>
Akira<br>
</font></span></blockquote></div><div class="gmail_default"><br></div><div class="gmail_default">how about </div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default"> fd = epdf_create_fontdescriptor(fontmap, round(stemV->getInt()));</div><div><br></div><div><div class="gmail_default">round() is a macro defined by web2c which does what it says.</div></div><div><br></div><div><br></div></div><div class="gmail_default">Regards,</div><div class="gmail_default">Thanh</div></div></div>