Article View: chile.comp.programacion
Article #3589Re: funcion round en C
From: Rick_oj
Date: Fri, 10 Dec 2004 01:50
Date: Fri, 10 Dec 2004 01:50
15 lines
1377 bytes
1377 bytes
joe wrote:
> 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.
ups tienes razon toy oxidado en c, me enrede con %f float
Technical Details
Message-ID:
<cpavee$2kb$1@news1.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mailReferences:
<cpa338$p9o$1@news1.nivel5.cl> <cpa3k5$p9o$2@news1.nivel5.cl> <cpaeaa$ssh$1@news1.nivel5.cl> <cpan9k$vlm$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!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!not-for-mail From: "Rick_oj" <rick_oj@servidor.red> Newsgroups: chile.comp.programacion Subject: Re: funcion round en C Date: Thu, 9 Dec 2004 22:50:11 -0300 Organization: Varios Lines: 17 Message-ID: <cpavee$2kb$1@news1.nivel5.cl> References: <cpa338$p9o$1@news1.nivel5.cl> <cpa3k5$p9o$2@news1.nivel5.cl> <cpaeaa$ssh$1@news1.nivel5.cl> <cpan9k$vlm$1@news1.nivel5.cl> NNTP-Posting-Host: cm-vina4-157-154.cm.vtr.net X-Trace: news1.nivel5.cl 1102643471 2699 200.104.157.154 (10 Dec 2004 01:51:11 GMT) X-Complaints-To: news@news1.nivel5.cl NNTP-Posting-Date: Fri, 10 Dec 2004 01:51:11 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441