Floating PnL formula

The floating PnL formula git me confused , their is a chapter that say floating PnL= position size × (current price - entry price) and in another chapter I was following the example and the formula given to calculate floating PnL didn’t tally with the previous formula given

If you can give me a link to the lesson that shows how to calculate your profit I can take a look at it and sort it out for you.

If you could provide to me an example trade that you’re trying to calculate your profit on that would be helpful also.