Skip to content

Who Know Java Code

Featured Replies

vazw to code auto edw katw

 msg.replace("%crtdmg%", String.valueOf(player.getStat().calcStat(Stats.CRITICAL_DAMAGE, 1, null, null)));

 

alla mou vgazei kapws etsi

https://www.mediafire.com/view/p2eafywy4u4v6po/gg.png/file

2 hours ago, MegaCheat said:

vazw to code auto edw katw

 msg.replace("%crtdmg%", String.valueOf(player.getStat().calcStat(Stats.CRITICAL_DAMAGE, 1, null, null)));

 

alla mou vgazei kapws etsi

https://www.mediafire.com/view/p2eafywy4u4v6po/gg.png/file

final DecimalFormat decimalFormat = new DecimalFormat("0.00");
msg.replace("%crtdmg%", decimalFormat.format(your long calcStat here));

you can always change the format

  • Author

Zake thank you very much !!

  • Zake locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.