Jumat, 15 April 2011

Mendapatkan Type data double dari pembagian dua data integer

Pada pembagian dua buah type data integer pada C# akan menghasilkan type data interger pula, sehingga jika melakukan pembagian 4 dengan angka 5 hasilnya bukanlah 0.8 melainkan 1. Trus bagaimanakan caranya agar mendapatkan nilai double dari hasil pembagian dua data integer tersebut?, simpel sekali kita hanya diwajibkan untuk mengkonvert type data integer ke type data double, maka dari pembagian tersebut akan menghasilkan type data double. Berikut ini adalah script untuk mendapatkan type data double dari pembagian dua type data ingteger 

hasil = (double)angka1 / (double)angka2

21 komentar:

  1. Rooney represented the possibility of something better for Jan and her sons — Mark says they were on welfare — though, at first, Rooney was so destitute he had to move in to their rental home in Sherman Oaks. Eventually, he got together some money and, recalls Mark, "took us to nice dinners, taught us michael kors outlet online a lot about etiquette and all that stuff, exposed us to a lot of things, you know, horse racing and golf."
    Canvas ads also load much faster than retailers' sites, which keeps a customer engaged. However, should a user choose michael kors sale to bite the bullet and make a purchase, they still have the option of clicking through to the brand's site. The development of the growing shopping options is michael kors uk a response to the growing number of users who are accessing the social site through a mobile device. According to the trade, mobile commerce is expected to grow at a double digit annual rate in the next five years, and the ease of shopping on Facebook allows brands to capitalize on this trend without having to spend time and money developing their own apps.
    Hadley michael kors tote Freeman of the U.K.'s Guardian praised Kors for typically designing clothes with his customer in mind rather than trying to create something that would look edgy in a fashion shoot."But Wednesday's show, which took the eternally popular and eternally misguided 2015 michael kors outlet theme of 'safari,' looked like something designed solely for a magazine fashion shoot in Africa, probably starring Angelina Jolie lounging decorously on a designer handbag while gazing soulfully at some noble tribesmen," Freeman wrote.Amy Odell of New York Magazine was michael kors outlet online store 49.00 outlet more diplomatic in her assessment of the collection.
    Augustine has not recovered any money. He says Rooney's art collection remains unaccounted for and that he hired a P.I. to follow Chris.Augustine tried to initiate criminal prosecution of Chris, filing a michael kors report with the Ventura County Sheriff's Department, but says, "They decided it was a civil matter and refused to take it to the D.A." A spokesperson for the VCSD said, "In 2013 we received a report of a possibility of michael kors sale some kind of a financial elder abuse that was investigated, and at no time was a crime ever established."Says Chris: "If they proved just one thing, I could go to jail. They couldn't prove anything."
    Has dressed in 2015: Lupita michael kors outlet Nyong'o,

  2. Sapiens IAS offers flexible and results-oriented Best Anthropology Coaching Coaching for UPSC and IAS students through an online and offline training program by well known IAS trainer Mr. Pradip Sarkar.

    Call: 8700922126 || 011-2875 6962 || 9718354962
    Address: 17A/44, W.E.A. 3rd Floor, Near Karol Bagh Metro Station (Pillar No. 99), New Delhi- 110005.

    Read More at:

  3. As an adventure touring company, Enfield Point specializes in small-group, long-duration scenic and cultural motorcycle tours to areas of the world neither easily accessible nor commonly visited by most, especially in Himalayas. We cater to the experienced, self-sufficient rider who seeks a more challenging and unique experience.

  4. Wethecoders is one of the leading online assignment help services. always take step towards your satisfaction. We work hard so that you can get good grades. Our prime motto is to help you to get good grades in your assignment, project and homework. Our team is professional and knowledgeable. We are here to help you 24/7. Try once to take the advantage of our services and we assure you that you will get surely the

    Read More:

  5. Water Treatment Expert Inc |Water Treatment Plant Delhi

    MECHANICAL WORKS. Wtexpert is having state of the art mechanical fabrication facility at dedicated sub. FACILITIES. Above units spread in areas of 8000 ...

  6. Dublin Taxi - We have the pleasure to make available vehicles for the most varied types of events, always having in mind to satisfy the expectations of our clients according to the event in question. We have since luxury limousines up to cars for 8 persons – adults and children – to offer comfort and quality in our services.

  7. Dublin Taxi - Easycab provides long distance taxi services to all major and small cities around Ireland. You can hire any type of taxi for your long distance journey, from saloons to coaches.

  8. Do you run an educational institute in India? Want to generate quality leads by promoting your coaching institute website on Google search engine? Well, Elite SEO Agency, a proficient SEO company for coaching institute offers absolutely niche based customized Google friendly SEO services with assured result and that too within timeframe.

    Whether you have UPSC, IAS coaching institute, CA coaching training centre, or anything related to education category , we are ready to provide you the desired result as per your business requirements.

    Call Now at 7634078909 to grab a Free SEO consultation from the certified SEO consultant at Elite SEO Agency.

    Read More: