---
title: "Multiply percantage values"  
description: "Multiply percantage values"  
author: "Anonymous User"  
published: 2015-12-08  
updated: 2015-12-08  
canonical: https://www.mindstick.com/forum/33697/multiply-percantage-values  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# Multiply percantage values

I need to multiply a double [value](https://www.mindstick.com/articles/23219/an-optimized-description-adds-value-to-experience-and-in-turn-effectively-guest-posting-packages) by 12%, how can I do so?\

```
public class AnnualMaintenanceFee {  public void GetTotal(int TotalND) {    double software=1500;    double TNDWithSof= 1500+TotalND;    double AMF= TNDWithSof 12;    System.out.println("New Total: "+AMF);  }}
```

## Replies

### Reply by Anonymous User

We can do it like this \

```
double AMF= TNDWithSof * 0.12; // 0.12 means 12/100(12%), you can use 0.12 directlySystem.out.println("New Total: "+AMF);
```


---

Original Source: https://www.mindstick.com/forum/33697/multiply-percantage-values

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
