The Arcive of vBulletin Modifications Site. | 
    |
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			how to remove decimal in cost on subscription? 
		
		
		
		
		
		
		
		
	
	example : 120.00 $ => 120 $ please help me  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			any one can help me?
		 
		
		
		
		
		
		
		
		
	
	 | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			I think you need to edit the file admincp/subscriptions.php, and search for number_format.  For example, on like 301 there's this: 
		
		
		
		
		
		
		
		
	
	Code: 
	$moo['cost']["$currency"] = number_format($value, 2, '.', ''); and the 2 means use 2 decimal places. But I haven't tried it, and number_format appears a number of times in that file and I don't have time to figure out what they all do, so you may have to experiment. Also, if you change one or more of those (change 2 to 0), then you may have to edit the subscriptions and resave them to get the changes to show up, since it looks like the cost string is saved in the database.  | 
![]()  | 
	
	
		
  | 
	
		
  | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
						
  | 
				|
  More Information | 
				|
| 
						 Template Usage: 
						
 Phrase Groups Available: 
						
  | 
					
						 Included Files: 
						
 Hooks Called: 
						
  |