Jump to content

Question

Posted

How i can make format for adena in multisell for exemple 123,456.789? now it is 123456789. i don;t know if in this section must be this question. Can be moved.

Greetings!

4 answers to this question

Recommended Posts

  • 0
Posted

I can do it in multisell. With same patch, i try in L2j-Mobius. But in Sunrise isn' this option and i want to know how i can do it

I find something in util.java but idk how to make it
 

/**
	 * Format the specified digit using the digit grouping symbol "," (comma).<br>
	 * For example, 123456789 becomes 123,456,789.
	 * @param amount - the amount of adena
	 * @return the formatted adena amount
	 */
	public static String formatAdena(long amount)
	{
		synchronized (ADENA_FORMATTER)
		{
			return ADENA_FORMATTER.format(amount);
		}
	}

and i don;t know if just for adena it is applied

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...