这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@3ga01
Copy link
Contributor

@3ga01 3ga01 commented Jun 11, 2024

Changes Made

  • Added implementation for calculating percentage difference.
  • Added tests to validate the implementation.

Emmanuel-Omari01 and others added 2 commits June 11, 2024 15:35
Signed-off-by: Emmanuel Mireku Omari <emmanuel.omari@amalitech.com>
Signed-off-by: Emmanuel Mireku Omari <omariemmanuel91@gmail.com>
3ga01 added 5 commits June 21, 2024 15:03
Signed-off-by: Emmanuel Mireku Omari <omariemmanuel91@gmail.com>
Signed-off-by: Emmanuel Mireku Omari <omariemmanuel91@gmail.com>
Signed-off-by: Emmanuel Mireku Omari <omariemmanuel91@gmail.com>
Signed-off-by: Emmanuel Mireku Omari <omariemmanuel91@gmail.com>
Signed-off-by: Emmanuel Mireku Omari <omariemmanuel91@gmail.com>
package com.baeldung.math.percentdiffbetweentwonumbers;

public class PercentDiffBetweenTwoNumbers {
public static double calculatePercentageDifference(double v1, double V2) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rename V2 variable to v2

3ga01 added 2 commits July 24, 2024 14:59
Signed-off-by: Emmanuel Mireku Omari <omariemmanuel91@gmail.com>
Signed-off-by: Emmanuel Mireku Omari <omariemmanuel91@gmail.com>
@acerasoni acerasoni merged commit 9625a40 into eugenp:master Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants