Al grabar un medicamento de un tratamiento de una consulta médica da el siguiente error:

System.Exception: 9999.99 is not a valid value for Decimal. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) at System.ComponentModel.DecimalConverter.FromString(String value, NumberFormatInfo formatInfo) at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) --- End of inner exception stack trace -

Pareciera que es por el idioma/cultura ya que me cambié a Español y ya funcionó. La cantidad la graba en con decimales (6,0) y no lo deja grabar.

FAvor de corregir.

asked 12 Jul '17, 15:56

Juan%20Carlos%20Soria's gravatar image

Juan Carlos Soria
1.1k171179185
accept rate: 41%

OJO. si se edita la cita desde el expediente médico si deja grabar en el idioma/cultura - Español-PY

(12 Jul '17, 16:36) Juan Carlos Soria Juan%20Carlos%20Soria's gravatar image

Juan Carlos: he probado ingresar varias cantidades en varios idiomas y no logro reproducir el problema. Podría editar la pregunta agregando una imagen con los datos del formulario que se intentaron ingresar ? gracias

(17 Jul '17, 16:12) sbarahona ♦♦ sbarahona's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×14
×6
×3

Asked: 12 Jul '17, 15:56

Seen: 869 times

Last updated: 17 Jul '17, 16:12

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática