Jump to content

ummekulsum4321

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Everything posted by ummekulsum4321

  1. i have 4 sub report which returns thier summed up values for example A!,b1 c1,d1 are the variable of main report which are used to return the values from sub report all are of type double i have to add a1+c1 and b1+d1 suppose eany one of the value is null the addiition doesnt happen what i want is if the return value is null i want it to take it as 0 and add up how can i achive that
  2. i wanted to hide the report the the data is null but instead its hiding even if data is present
  3. how can we hide a subreport if no data is present on a condition in my case i have 4 subreport and how to avoid the space which is formed if no data is present
  4. package convert;class Word{ // Strings at index 0 is not used, it is to make array // indexing simple static String one[] = {"", "one ", "two ", "three ", "four ", "five ", "six ", "seven ", "eight ", "nine ", "ten ", "eleven ", "twelve ", "thirteen ", "fourteen ", "fifteen ", "sixteen ", "seventeen ", "eighteen ", "nineteen " }; // Strings at index 0 and 1 are not used, they is to // make array indexing simple static String ten[] = {"", "", "twenty ", "thirty ", "forty ", "fifty ", "sixty ", "seventy ", "eighty ", "ninety " }; // n is 1- or 2-digit number static String numToWords(int n, String s) { String str = ""; // if n is more than 19, divide it if (n > 19) { str += ten[n / 10] + one[n % 10]; } else { str += one[n]; } // if n is non-zero if (n != 0) { str += s; } return str; } // Function to print a given number in words static String convertToWords(int n) { // stores word representation of given number n String out = ""; // handles digits at ten millions and hundred // millions places (if any) out += numToWords((int) (n / 10000000), "crore "); // handles digits at hundred thousands and one // millions places (if any) out += numToWords((int) ((n / 100000) % 100), "lakh "); // handles digits at thousands and tens thousands // places (if any) out += numToWords((int) ((n / 1000) % 100), "thousand "); // handles digit at hundreds places (if any) out += numToWords((int) ((n / 100) % 10), "hundred "); if (n > 100 && n % 100 > 0) { out += "and "; } // handles digits at ones and tens places (if any) out += numToWords((int) (n % 100), ""); return out; }} [/code]thats the java code which is coverted into jar file and stored how do i invoke it how do i achieve this?
×
×
  • Create New...