🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #3587

Re: funcion round en C

#3587
From: joe
Date: Thu, 09 Dec 2004 23:32
16 lines
1188 bytes
Rick_oj <rick_oj@servidor.red> wrote:
> joe wrote:
>> joe <joe@anonymous.nu> wrote:

[codigo borrado]

>>>        printf("El valor redondeado de %f es %f.\n", x,y);
[...]

> si x es double no deberia ser %f sino que %d, eso es lo que le veo a simple
> inspeccion

No, porque %d es para enteros.

-- 
joe
Technical Details
Message-ID: <cpan9k$vlm$1@news1.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail
References: <cpa338$p9o$1@news1.nivel5.cl> <cpa3k5$p9o$2@news1.nivel5.cl> <cpaeaa$ssh$1@news1.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,45a58cbd8a22477a
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail
From: joe <joe@anonymous.nu>
Newsgroups: chile.comp.programacion
Subject: Re: funcion round en C
Date: Thu, 9 Dec 2004 23:32:06 +0000 (UTC)
Organization: Varios
Lines: 16
Message-ID: <cpan9k$vlm$1@news1.nivel5.cl>
References: <cpa338$p9o$1@news1.nivel5.cl> <cpa3k5$p9o$2@news1.nivel5.cl> <cpaeaa$ssh$1@news1.nivel5.cl>
NNTP-Posting-Host: cm-vina3-151-114.cm.vtr.net
X-Trace: news1.nivel5.cl 1102635126 32438 200.104.151.114 (9 Dec 2004 23:32:06 GMT)
X-Complaints-To: news@news1.nivel5.cl
NNTP-Posting-Date: Thu, 9 Dec 2004 23:32:06 +0000 (UTC)
User-Agent: tin/1.7.6-20040906 ("Baleshare") (UNIX) (Linux/2.6.9-1-k7 (i686))