Add Papers Marked0
Paper checked off!

Marked works

Viewed0

Viewed works

Shopping Cart0
Paper added to shopping cart!

Shopping Cart

Register Now

internet library
Atlants.lv library
FAQ
3,49 € Add to cart
Add to Wish List
Want cheaper?
ID number:230359
 
Author:
Evaluation:
Published: 17.04.2012.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Extract

procedure IntToStr(int:integer;var str:string);
Procedūrai IntToStr tiek nodota integer tipa vērtība int un virknes tipa mainīgais str. Procedūra sākumā pārbauda vai vērtība ir negatīva, un ja ir tad pirmajā string vietā ieraksta „-”. Pēctam pagaidu string mainīgajā tmp cikliski ieraksta katru nodotā integer vērtību to dalot ar 10 tādejādi iegūstot vienus, desmitus, simtus un tūkstošus. Tā kā dalot vērtības ir apgrieztā secībā, tad cikliski apgriež vērtības un nodod visu simbolu virknei str, kuru atgriež procedūra.

Author's comment
Work pack:
GREAT DEAL buying in a pack your savings −-1,30 €
Work pack Nr. 1320804
Load more similar papers

Atlants

Choose Authorization Method

Email & Password

Email & Password

Wrong e-mail adress or password!
Log In

Forgot your password?

Draugiem.pase
Facebook

Not registered yet?

Register and redeem free papers!

To receive free papers from Atlants.com it is necessary to register. It's quick and will only take a few seconds.

If you have already registered, simply to access the free content.

Cancel Register