Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/02/2012, 01:16
lucasabogado
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: number_format pero con punto

Después de tantos días lo he hecho así y me funciona a las mil maravillas

Código PHP:
function get_property_price($postid) {

    if(
get_post_meta($postid'price'true)) {
        
$price_out get_post_meta($postid'price'true);
               
$price_out number_format($price_out0'.''.');
        if(
get_option('cp_curr_symbol_pos') == 'right')
            
$price_out $price_out get_option('cp_curr_symbol');
        else
            
$price_out get_option('cp_curr_symbol') . $price_out;
    } else {    
        
$price_out ' ';        
    }
    
    echo  
$price_out $price_out get_option('get_currency_sym').' '.get_currency_sym();

lo dejo por si a alguien le puede ayudar cuando tenga el mismo prroblema

SALUDOS