byte/short/integer/long/float/double

Status
Not open for further replies.

claaariii

Senior Member
Spanish - Argentina, English - USA
Estoy traduciendo un sitio, llegue a una parte del código que no se como se traduce ni como buscarlo...¿alguén me puede ayudar? Son los términos lo único que necesito: byte, short, integer, long, float, y double...

¡Muchas gracias! :)

errors.byte={0} must be a byte.

errors.short={0} must be a short.

errors.integer={0} must be an integer.

errors.long={0} must be a long.

errors.float={0} must be a float.

errors.double={0} must be a double.
 
  • Si son mensajes de error para el usuario o programador, sí los puedes traducir.
    "byte" sería "octeto" o "byte"
    "short" sería "entero corto"
    "integer" sería "entero"
    "long" sería "entero largo"
    "float" sería "punto flotante" o "coma flotante"
    "double" sería "doble precisión"

    Luis
     
    Estoy traduciendo un sitio, llegue a una parte del código que no se como se traduce ni como buscarlo...¿alguén me puede ayudar? Son los términos lo único que necesito: byte, short, integer, long, float, y double...

    ¡Muchas gracias! :)

    errors.byte={0} must be a byte.

    errors.short={0} must be a short.

    errors.integer={0} must be an integer.

    errors.long={0} must be a long.

    errors.float={0} must be a float.

    errors.double={0} must be a double.
    Nos ayudaría mucho saber de que lenguaje estamos hablando.

    Estos "data types" se parecen entre un lenguaje y otro, pero no son idénticos. Por ejemplo: el "float" en algunos lenguajes tiene dos variaciones: el punto flotante sencillo (single precision floating point) y el punto flotante doble (double precision floating point).

    En algunos lenguages no existe el "short", siendo lo mismo que "integer."

    También no entiendo lo de los errores. Un valor como 123 puede ser tanto un short, un integer, un long, un float, como un double. ¿Cómo se determina que es un error?

    Saludos.
     
    Yo tampoco entendí lo de los errores...era toda una sección con frases como:

    errors.creditcard={0} is an invalid credit card number.
    errors.email={0} is an invalid e-mail address.

    Bastante simple y fácil de entender, y de repente esos seís...
     
    Yo tampoco entendí lo de los errores...era toda una sección con frases como:

    errors.creditcard={0} is an invalid credit card number.
    errors.email={0} is an invalid e-mail address.

    Bastante simple y fácil de entender, y de repente esos seís...
    I will try to explain the 6 errors:

    errors.byte={0} must be a byte. The definition and validity of a "byte" is dependent on the programming language being used.

    errors.short={0} must be a short. If short is the same as integer, see integer below.

    errors.integer={0} must be an integer. In many languages, integer is a value from -32,768 to +32,767 with no decimals, and can therefore be signed. A value of 40,000, which does not fit, or a value of 7.25, which contains a decimal, would cause an error.

    errors.long={0} must be a long. In several languages, long is a value from -2,147,483,648 to +2,147,483,647 with no decimals. It can be signed. A value of 3,000,000,000, which does not fit, or a value of 123.45, which contains a decimal, would cause an error.

    errors.float={0} must be a float. Float, or single precision floating point number, are very difficult to distinguish by programming from double precision floating point numbers. If the programming language itself can offer this distinction automatically, you are in luck.

    errors.double={0} must be a double. See "float" above.

    The range of values which can be expressed by a float or double depends on the number of bytes assigned by the programming language to hold these types of variables. These values can contain many decimal positions, which is the purpose of using floating point numbers.

    Saludos.
     
    Para el récord, en una base de traducción que estoy revisando, hemos incluido:
    Data types = tipos de datos
    Float = flotante
    Integrer = entero
    Boolean = booleano
    Fixed = fijo

    Gracias por este thread !!
     
    Este viejo hilo ya no cumple con nuestras normas. En cada hilo hay que hacer una sola pregunta y aquí hay varias. Por lo tanto el hilo queda cerrado, no antes de agradecer la ayuda de todos.
     
    Status
    Not open for further replies.
    Back
    Top