Unit.Pixel to String

Discussion in 'ASP .Net' started by shapper, Jun 15, 2007.

  1. shapper

    shapper Guest

    Hello,

    I need to convert an Unit.Pixel variable to string.
    For example:

    Unit.Pixel(160px) > "160px"

    How can I do this?

    Thanks,
    Miguel
     
    shapper, Jun 15, 2007
    #1
    1. Advertising

  2. Hello Shapper,

    How about:

    string strPixel = Unit.Pixel(160).ToString();

    --
    brians
    http://www.limbertech.com


    "shapper" wrote:

    > Hello,
    >
    > I need to convert an Unit.Pixel variable to string.
    > For example:
    >
    > Unit.Pixel(160px) > "160px"
    >
    > How can I do this?
    >
    > Thanks,
    > Miguel
    >
    >
     
    =?Utf-8?B?YnJpYW5zW01DU0Rd?=, Jun 15, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?RGFuaWVs?=

    Cast to unit.pixel?

    =?Utf-8?B?RGFuaWVs?=, Aug 16, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    1,644
    =?Utf-8?B?RGFuaWVs?=
    Aug 16, 2005
  2. VvanN
    Replies:
    5
    Views:
    497
    Phlip
    Apr 28, 2006
  3. André Wagner

    Fastest pixel by pixel operation

    André Wagner, Mar 17, 2008, in forum: Java
    Replies:
    12
    Views:
    1,058
    Larry A Barowski
    Mar 19, 2008
  4. Bill David
    Replies:
    2
    Views:
    277
    Arne Vajhøj
    Jun 18, 2008
  5. Ulrich Eckhardt

    unit-profiling, similar to unit-testing

    Ulrich Eckhardt, Nov 16, 2011, in forum: Python
    Replies:
    6
    Views:
    342
    Roy Smith
    Nov 18, 2011
Loading...

Share This Page