Skip to content

Tag: calculation

Level calculation

somehow I can’t think of a solution to a problem that is actually quite easy. It’s about a level system where I need a kind of formula that is very simple but I can’t think of it. I calculate the level from the experience points and there you need e.g. for level 1 1.000 EXP, for level 2 3.00…

Calculate percent [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed last year. Improve this question I was wondering how to calculate the percentage in a level system, let me explain better: The …

Java hex calculation

I have the long value bits declared like so: long bits = len*8L; (304) System.out.println(bits); This outputs as 304 If I use the long name bits like so I get 0 & 0 respectively. If I use the actual number, like so, I get 304 and 48 respectively I’m trying to convert this Java to JavaScript but Java…