Jump to content

oracan

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About oracan

  • Rank
    Newbie
  1. Hi all - I replaced the translate with this code and it worked ( thank God)<xsl:value-of select="format-number(ns:FormatNoDollar4(ns:ReturnTotalUndesignated()),'0.00;(0.00)')"/>
  2. Hi, I'm trying to add a right parenthesis to a number when it is negative upon returning from a Java function and so far am unable to do it. I can add the left parenthesis no problem but can't find a way to add the right parenthesis. It is much appreciated if anyone can help? This is the line I'm using to try and include the right parenthesis. I'm thinking the code would interpret the end of the number as a space and translate it to a ')'. I've tried both " " and "" but neither works. An example of the result I currently get is this: (250.00 <xsl:value-of select='translate(translat
  3. Hi, I'm new to xsl and am trying to line up decimal amounts so that they appear as right-justified on a document. Currently I can only get them to be left justified. The document has a reference-orientation = "90", so adjusting the positioning of the amounts is done using the format top. I've tried putting the code dealing with the amounts within an xsl table but that had no effect. I've tried using the format bottom instead of top, thinking the amounts would justify from the bottom instead of the top but that didn't work either. Interestingly the only values that work in the text-align s
×
×
  • Create New...