Donate Share

iReport-Designer for JasperReports

Subscribe

How to divide Long variables (always nul

  1. 2009-11-08 07:41:20 UTC

    Reflected from JasperForge.org Date: 2009-11-07 14:37:32 GMT By: rapthor

    Original message post: http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=66465

    Message:

    Hello,

    I got a null when I try to divide a Long variable by a number, round it and assign it to another Long variable: New Long(Math.round(new Double($V{DATEINMILLISECONDS}.longValue() / (60601000*24))))

    The result variable is also ...

    NOTICE: This message has been replicated from jasperforge.org for your convenience. If you want to reply to this issue and participate in this discussion, please follow the 'original post' link

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.