Re: [LA-discussions] question javascript
[
Thread Index
|
Date Index
|
More linuxarverne.org/discussions Archives
]
To
:
discussions@xxxxxxxxxxxxxxxx
Subject
: Re: [LA-discussions] question javascript
From
: Matthieu <
matthieuy@xxxxxxxxx
>
Date
: Mon, 1 Aug 2011 18:18:38 +0200
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=DLCMvndDdgfPR8RbVav8fJ9dqnZMSyKyFICsEyh3NDQ=; b=RynI46AKYZuf8c6/G7hFl09FThLwuEgU01HjOYJhJCx6bnaDVAWMOm2fuDQ6mm01y1 bRG93/S/Ycwntf4ZEbKEbJMPhSMBIpor+C8njnC1CO/HV4aVFWzi2+iJOGkEWHV3UOHf 351xQjoac8TQs+CRkrkIkDLSmkTOuq516dIP0=
Oupps : coquille :
Il fut utiliser la longueur de la chaine "numero_img"
// numero_img vaut "2" par exemple
while (numero_img.length < 3)
{
numero_img = "0"+numero_img;
}
// Aprés la boucle numero_img vaut : "002"
--
Matthieu
Follow-Ups
:
Re: [LA-discussions] question javascript
From:
Daniel Cartron
References
:
[LA-discussions] question javascript
From:
Daniel Cartron
Re: [LA-discussions] question javascript
From:
Matthieu
Messages sorted by:
[
date
|
thread
]
Prev by Date:
Re: [LA-discussions] question javascript
Next by Date:
Re: [LA-discussions] question javascript
Previous by thread:
Re: [LA-discussions] question javascript
Next by thread:
Re: [LA-discussions] question javascript
Mail converted by
MHonArc
2.6.19+
http://listengine.tuxfamily.org/