Seperador decimal en fichero de texto
Buenas
Estoy tratando de leer un fichero de datos generados con LabView ( curvas.txt). Si leo el fichero desde el VI lo hace correctamente, sin embargo lo hago desde el ejecutable se come los decimales.
Puede alguien echarme una mano?
Gracias
Attachments:
curvas.txt 4 KB
Ejecutable.JPG 88 KB
Con VI.JPG 85 KB
Hola Aeneriz,
el problema que seguramente tienes son las opciones de separador decimal, es decir, en LabVIEW estás utilizando punto y puede que el sistema operativo esté en español y utilice la coma. Lo que tienes que hacer es unificar ambos:
1.- Para cambiar en LabVIEW de coma a punto decimal o viceversa ve a LabVIEW >> Tools >> Options... >> Front Panel >> Use localized decimal point. Reinicia LabVIEW para que los cambios tengan efecto.
2.- Para cambiarlo en el sistema operativo, ve a Inicio >> Panel de Control >> Opciones regionales e idoma >> Opciones regionales >> Personalizar >> Símbolo decimal.
Te adjunto dos capturas para que lo veas. Espero que esta información te sea de utilidad. Un saludo.
Jesus
Attachments:
Punto decimal.zip 106 KB
Similar Messages
-
Crear archivo de texto desde trigger en SQL SERVER 2005
Necesito crear un archivo .txt con cierto texto cada vez que se ejecuta el trigger. Quisiera saber como hacerlo.
GraciasY estando en el contexto de un gestor de bases de datos ¿porque quieres retroceder 30 años y utilizar ficheros planos para almacenar información?
Es mucho más sencillo (y eficaz, y versátil, y...) definir una tabla y almacenar en ella los mensajes que tienes pensado enviar al fichero de texto.
Why do you want to use ancient flat files when you have at your hands the power of sorting/searching/storing of a database management system?.
It is a lot easier and surely more productive to create a table and store there the messages you want to accumulate in txt files. -
El texto dinamico no me coge las "�"
Holap, estoy cargando un texto dinamico en un campo de texto
y casi todo
bien, hasta q meto una "�", entonces o no muestra el
texto q viene a
continuaci�n de la misma � muestra un espacio
donde esta la "�". he probado
a incrustar la fuente, (numerales, mayusculas, ordinales,
todo!!) pero sigue
sin resultarme... alguna idea=?
graciasTienes dos opciones:
1.- La m�s correcta: Si el texto que lees
din�micamente procede de un
fichero de texto plano, guarda ese fichero de texto en modo
UTF-8 (puedes
hacerlo desde el propio notepad de windows). Si este fichero
es generado
desde un php, puedes utilizar la funci�n utf8_encode
http://es2.php.net/utf8_encode
para pasarselo a flash en un formato que le
resulte legible.
2.- Puedes obligar a por la fuerza bruta a Flash a utilizar
el estandar ISO,
mediante �l c�digo
System.useCodePage = true;
colocado en el primer fotograma de tu pel�cula.
Cuando este c�digo est� presente, Flash Player
interpreta el texto externo
empleando la p�gina de c�digos tradicional del
sistema operativo en el que
se ejecuta Flash Player. Si se establece System.useCodepage
con el valor
true, Flash Player 6 y versiones posteriores tratar�n
el texto de la misma
forma que Flash Player 5. (Flash Player 5 consideraba todo el
texto como si
estuviera en la p�gina de c�digos tradicional
del sistema operativo en el
que se ejecuta el reproductor.)
Si establece System.useCodepage con el valor true, recuerde
que la p�gina de
c�digos tradicional del sistema operativo en el que se
ejecuta el
reproductor debe incluir los caracteres utilizados en el
archivo de texto
externo para que se muestre el texto. Para garantizar que los
usuarios de
todas las plataformas puedan ver los archivos de texto
externos que se
utilizan en sus archivos SWF, debe codificar todos los
archivos de texto
externos como Unicode y establecer System.useCodepage en
false de forma
predeterminada. De esta forma, Flash Player 6 y versiones
posteriores
interpretar� el texto como Unicode.
"kingu" <[email protected]> escribi� en el
mensaje
news:[email protected]...
> Holap, estoy cargando un texto dinamico en un campo de
texto y casi todo
> bien, hasta q meto una "�", entonces o no muestra
el texto q viene a
> continuaci�n de la misma � muestra un
espacio donde esta la "�". he
probado
> a incrustar la fuente, (numerales, mayusculas,
ordinales, todo!!) pero
sigue
> sin resultarme... alguna idea=?
> gracias
>
>
> -
Exporting smartform into word document
how to export smartform into word document . i tried converting into pdf and then download but it showing run time error that conversion is not possible and also it tells that otf command // missing. is it not possible to export directly to word document instead of pdf.plz give clear description of what to be done exactly with sample codes.
marks will be rewarded.Hi Lavanya,
Converting the output from Spool to Word is possible.
Here is the sample code.
I cut pasted a code from a link i got in the website, see if it helps.
ZSPOOL2WORD
Genera un fichero Word a partir de una orden de spool
MÓDULO : FI *
TIPO : Listado *
TITULO : Generación fichero Word
DESCRIPCION : Genera un fichero Word a partir de una orden de spool
AUTOR: Andres Picazo FECHA: 24/03/2003 *
MODIFICACIONES *
FECHA NOMBRE DESCRIPCION *
REPORT ZSPOOL2WORD
NO STANDARD PAGE HEADING
LINE-COUNT 065
LINE-SIZE 080.
INCLUDE OLE2INCL.
*----TABLAS/ESTRUCTURAS--
*----TABLAS INTERNAS--
DATA I_BUFFER(132) OCCURS 1000000 WITH HEADER LINE.
*----VARIABLES--
*----PARAMETER/SELECT-OPTIONS EN PANTALLA--
SELECTION-SCREEN BEGIN OF BLOCK BLK_PAR WITH FRAME TITLE TEXT-SEL. "Pará
PARAMETERS: P_SPOOL LIKE TSP01-RQIDENT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK BLK_PAR.
SELECTION-SCREEN BEGIN OF BLOCK BLK_WOR WITH FRAME TITLE TEXT-WOR.
PARAMETERS: P_WORD AS CHECKBOX DEFAULT 'X'.
PARAMETERS: P_FWOR LIKE RLGRAP-FILENAME DEFAULT 'C:MAYOR.DOC'.
PARAMETERS: P_PLAN LIKE RLGRAP-FILENAME
DEFAULT 'D:DATOSAPISMAYORPLANTILLA LIBRO MAYOR.DOC'.
SELECTION-SCREEN END OF BLOCK BLK_WOR.
SELECTION-SCREEN BEGIN OF BLOCK BLK_FIC WITH FRAME TITLE TEXT-FIC.
PARAMETERS: P_CTXT AS CHECKBOX DEFAULT ''.
PARAMETERS: P_FTXT LIKE RLGRAP-FILENAME DEFAULT 'C:MAYOR.TXT'.
SELECTION-SCREEN END OF BLOCK BLK_FIC.
LOGICA DEL PROGRAMA
INITIALIZATION
INITIALIZATION.
START-OF-SELECTION.
START-OF-SELECTION.
PERFORM LEER_SPOOL.
IF NOT P_CTXT IS INITIAL.
PERFORM GRABA_FICHERO.
ENDIF.
IF NOT P_WORD IS INITIAL.
PERFORM LANZA_WORD.
ENDIF.
FORMS ADICIONALES
*& Form LEER_SPOOL
Lee la orden de spool en el buffer
FORM LEER_SPOOL.
CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
EXPORTING
RQIDENT = P_SPOOL
FIRST_LINE = 1
LAST_LINE = 9999999
TABLES
BUFFER = I_BUFFER
EXCEPTIONS
NO_SUCH_JOB = 1
NOT_ABAP_LIST = 2
JOB_CONTAINS_NO_DATA = 3
SELECTION_EMPTY = 4
NO_PERMISSION = 5
CAN_NOT_ACCESS = 6
READ_ERROR = 7
OTHERS = 8.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'Error' SY-SUBRC
'al leer la orden de spool' P_SPOOL.
ENDIF.
ENDFORM. " LEER_SPOOL
*& Form GRABA_FICHERO
Graba el contenido del spool a fichero de texto.
FORM GRABA_FICHERO.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
CODEPAGE = ' '
FILENAME = P_FTXT
FILETYPE = 'ASC'
MODE = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = I_BUFFER
FIELDNAMES =
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
GUI_REFUSE_FILETRANSFER = 8
OTHERS = 9.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'Error' SY-SUBRC
'al grabar el fichero' P_FTXT.
ENDIF.
ENDFORM. " GRABA_FICHERO
*& Form LANZA_WORD
Abre la plantilla de Word y pega el contenido del portapapeles.
FORM LANZA_WORD.
DATA: WORDAPP TYPE OLE2_OBJECT,
DOCUMENT TYPE OLE2_OBJECT,
SELECTION TYPE OLE2_OBJECT.
Copia el contenido del buffer en el portapeles
CALL FUNCTION 'CLPB_EXPORT'
TABLES
DATA_TAB = I_BUFFER
EXCEPTIONS
CLPB_ERROR = 1
OTHERS = 2.
Abre Word
CREATE OBJECT WORDAPP 'word.application'.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'No se ha podido abrir el Word'.
ENDIF.
Lo pone en visible
SET PROPERTY OF WORDAPP 'Visible' = 1.
Cogemes el objeto documento
CALL METHOD OF WORDAPP 'Documents' = DOCUMENT.
Abrimos el fichero plantilla
IF P_PLAN IS INITIAL.
CALL METHOD OF DOCUMENT 'Add'.
ELSE.
CALL METHOD OF DOCUMENT 'Open' EXPORTING #1 = P_PLAN.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'Error al leer el fichero plantilla'.
ENDIF.
ENDIF.
Coge el objeto selección
CALL METHOD OF WORDAPP 'Selection' = SELECTION.
Pega el contenido del portapapeles
CALL METHOD OF SELECTION 'Paste'.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'Error al pegar contenido del portapapeles'.
ENDIF.
Graba el fichero
CALL METHOD OF WORDAPP 'ActiveDocument' = DOCUMENT.
CALL METHOD OF DOCUMENT 'SaveAs' EXPORTING #1 = P_FWOR.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'Error al grabar el nuevo documento'.
ENDIF.
Cierra Word
CALL METHOD OF WORDAPP 'Quit'.
IF SY-SUBRC NE 0.
MESSAGE E398(00) WITH 'Error al cerrar Word'.
ENDIF.
ENDFORM. " LANZA_WORD
check this also.................
By using FM RSPO_RETURN_ABAP_SPOOLJOB you will be able to get the ASCII text of your Spool, which you can download to your local HD and open with M$ Word.
Check the function module
CALL FUNCTION 'RSPO_DOWNLOAD_SPOOLJOB'
EXPORTING
id = p_spool
fname = p_file.
Give the file extn as .DOC. it will downlaod it as a
Word doc.But I fear you wont get the table formats and
all.
~~Guduri -
Hi Experts,
I am not able to see the standard ALV toolbar to download the output to an Excel or local file..etc.
I placed my ALV container on a screen below some I/O text boxes in display mode only.
I also need to download the I/O text boxes.
Can someone help me with this?
Thanks
DanyHi Dany,
Could you verify that in the layout the no_toolbar option is equal to space.
Regards,
Eric
PD. The standard download button of the ALV, its only going to work for the data on your internal table. In order to download all the data of the screen you are going to need to program the button functionality yourself.
Add a button to the toolbar and in the user_command do something like this (to export to excel).
CASE sy-ucomm.
WHEN 'DOWNLOAD'.
filefilter = 'Ficheros EXCEL (*.XLS)|*.XLS|Ficheros de texto (*.TXT)|*.TXT|Fich.(todos) (*.*)|*.*|'.
CALL FUNCTION 'GUI_FILE_SAVE_DIALOG'
EXPORTING
file_filter = filefilter
default_extension = 'xls'
IMPORTING
filename = filename
path = path
fullpath = fullpath
user_action = user_action.
DATA: wa_filelength TYPE i,
wa_archivo TYPE string.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = fullpath
filetype = 'ASC'
write_field_separator = 'X'
IMPORTING
filelength = wa_filelength
CHANGING
data_tab = it_asc_file
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
not_supported_by_gui = 22
error_no_gui = 23
OTHERS = 24.
Declare a table in which you are going to save the data in the same way you want it at the output file
DATA: BEGIN OF t_asc_file OCCURS 100,
campo1(50) TYPE c,
campo2(50) TYPE c,
campo3(50) TYPE c,
campo4(50) TYPE c,
campo5(50) TYPE c,
campo6(50) TYPE c,
campo7(50) TYPE c,
campo8(50) TYPE c,
campo9(50) TYPE c,
campo10(50) TYPE c,
campo11(50) TYPE c,
campo12(50) TYPE c,
campo13(50) TYPE c,
campo14(50) TYPE c,
campo15(50) TYPE c,
campo16(50) TYPE c,
campo17(50) TYPE c,
campo18(50) TYPE c,
campo19(50) TYPE c,
campo20(50) TYPE c,
END OF t_asc_file,
it_asc_file LIKE t_asc_file OCCURS 0,
wa_asc_file LIKE LINE OF it_asc_file.
Reward points if helpful -
Problems with file (save, open)
I save a file with my dates. (You can see save.vi, it's ok)
Then, I open file but it'snt ok.
Why? I don't know.
After, I'd like search one determinate value.
Can you help me?
Attachments:
save.vi 31 KB
open.vi 20 KBHola Carlos.
Lo que escribes en el fichero es texto, ya que los numeros los conviertes a string.
Para determinar el punto de algo en un fichero de texto, tienes que leerlo usando "read characters from file" y a continuacion "scan from string",que te devuelve el comienzo de la string que buscas.
No me consta que en Labview exista algun scan file que te devuelva el puntero a lo que buscas. No obstante, dado que parece que escribes lineas, puedes leerlas de 1 en 1 y buscar lo que quieres.
Espero que te sirva de ayuda
Alipio
"Qod natura non dat, Salmantica non praestat" -
Read and display data from PC COM1 & COM2
Hello, I am looking for help in order to use LabView to do the following:
I want to read from RS232 dataloguer output information and write
this in a text file format and then another LabView rutine should read
de information from the file and present the data in a graph. This
basically what my Meteorology interface is doing at the moment but I
want to use LabView for this purpose.
I've been doing some tests but unfortunatelly I haven't gone very far.
Many thanks, regards. Jose Carlos
Hola, buzco ayuda para hacer una peque~na aplicaci'on con LabView:
Necesito leer la salida del puerto RS232 de un dataloguer usando el
puerto de comunicaci'on del ordenador COM1 y escribir estos datos en
un fichero de texto. A continuaci'on otra peque~na rutina en LabView
deberia leer la informaci'on desde el citado fichero de texto y luego
presentar estos datos en una grafica.
He estado trabajando en este tema desde hace tiempo pero sin mucho
exito; espero me puedan ayudar con alguna sugerencia.
Muchas Gracias. Jose CarlosHi,
I send two links where you can see how to communicate with your instrument using RS-232 port and other example where the data are saved into a file after being acquired.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=C3279BDB00F42BEBE034080020E74861&p_node=DZ52363&p_source=External
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_answer=&p_guid=B45EACE3E8BB56A4E034080020E74861&p_node=DZ52058&p_rank=&p_source=Internal&p_submitted=N
In order to read the data of the file you can see the example on the Labview´s help on Fundamentals>>File Input and Output
I hope this helps you
Regards
Diego M. -
Leer fichero dat de datalogger
Buenas tardes, espero que me podais ayudar
mi problema es el siguiente:
necesito leer un fichero .dat creado por un Datalogger, en el que existen canales como el timestamp, canales de humedad y canales de temperatura. Cuando intento leerlo me salta un error de "LabVIEW cannot write to a read-only data storage file"
Os mando la vi donde realizo la prueba de la lectura de la vi y me sale dicho error. Version de Labview 8.6
Solved!
Go to Solution.
Attachments:
OBT_MEDIDAS_TEMP.zip 16 KBHola Beatriz,
las funciones de lectura de archivos Express "Read Channel" sirve
para leer información de ficheros TDM específicamente, no para cualquier
fichero, ya que es necesario que la información dentro de archivo, este
estructurada en grupos de canales y canales. Si quieres hacer la lectura con
esta función express, te recomiendo que hagas la escritura a través de a función
express "Write data" que también está en la paleta de funciones
Programming>>File I/O>>Storage.
Si por lo que sea no puedes utilizar esta función para crear tus archivos de
datos, la solución es utilizar las funciones de escritura y lectura en texto
plano y binario que están en la paleta Programming>>File I/O. Puedes
encontrar ejemplos de cómo utilizar estas funciones en la ayuda de LabVIEW de
cada una de estas funciones o en el buscador de ejemplos de LabVIEW (busca la
palabra "files")
Salu2 -
Grouping and Decimal characters in rtf templates.
Hi guys and girls,
I’m really struggling with a problem here regarding the decimal characters for the prices in my output.
I'm using XML Publisher 5.6.3.
My goal is to control the grouping and decimal character from my template.
The numbers in the XML data file can either be 10.000,00 or 10,000.00. The format is handled by the users nls_numeric_characters profile option.
The output of the template shall be based on the locale and not the data generated by Oracle Reports. For example: Reports to US customers shall show the numbers in the following format 10,000.00. Reports to our European customers shall show the numbers in this format 10.000,00.
How can I achieve this in my templates? Can it be achieved at all?
Thank you in advance.
Kenneth Kristoffersen
Edited by: Kenneth_ on May 19, 2009 1:30 AMHi,
Thank you for your reply.
The problem is that the report is generating the output based on the users profile option nls_numeric_characters.
I have tried to override the users profile option in the before report trigger without any luck. I can alter selects so the query gets the numbers in the right format but then I would have to go through all queryes and reports which seem a bit wrong? Especially for the standard Oracle reports.
BR Kenneth -
Error in running a function to convert coordinates in degrees to decimal for EXCEL VBA
For your information, I have 3 cross-posts regarding this question - and all I can said there is still no firm solution regarding this error.
1) http://stackoverflow.com/questions/27634586/error-in-running-a-function-to-convert-coordinates-in-degrees-to-decimal-for-exc/27637367#27637367
2) http://www.mrexcel.com/forum/excel-questions/826099-error-running-function-convert-coordinates-degrees-decimal-excel-visual-basic-applications.html#post4030377
3) http://www.excelguru.ca/forums/showthread.php?3909-Error-in-running-a-function-to-convert-coordinates-in-degrees-to-decimal-for-EXCEL-VB&p=16507#post16507
and the story of the error is as below:
Currently I am working on VBA excel to create a widget to verify coordinates whether it lies under the radius of ANOTHER predefined and pre-specified sets of coordinates.
In the module, I want to convert the coordinates from degrees to decimal before doing the calculation - as the formula of the calculation only allow the decimal form of coordinates.
However, each and every time I want to run the macros this error (Run-time error '5', invalid procedure call or argument) will appear. Then, the debug button will bring me to below line of coding:
degrees = Val(Left(Degree_Deg, InStr(1, Degree_Deg, "°") - 1))
For your information, the full function is as below:
Function Convert_Decimal(Degree_Deg As String) As Double
'source: http://support.microsoft.com/kb/213449
Dim degrees As Double
Dim minutes As Double
Dim seconds As Double
Degree_Deg = Replace(Degree_Deg, "~", "°")
degrees = Val(Left(Degree_Deg, InStr(1, Degree_Deg, "°") - 1))
minutes = Val(Mid(Degree_Deg, InStr(1, Degree_Deg, "°") + 2, _
InStr(1, Degree_Deg, "'") - InStr(1, Degree_Deg, "°") - 2)) / 60
seconds = Val(Mid(Degree_Deg, InStr(1, Degree_Deg, "'") + _
2, Len(Degree_Deg) - InStr(1, Degree_Deg, "'") - 2)) / 3600
Convert_Decimal = degrees + minutes + seconds
End Function
Thank you.
Your kind assistance and attention in this matter are highly appreciated.
Regards,
Nina.You didn't give an example of your input string but try the following
Sub test()
Dim s As String
s = "180° 30' 30.5""""" ' double quote for seconds
Debug.Print Deg2Dec(s) ' 180.508472222222
End Sub
Function Deg2Dec(sAngle As String) As Double
Dim mid1 As Long
Dim mid2 As Long
Dim degrees As Long
Dim minutes As Long
Dim seconds As Double ' or Long if only integer seconds
sAngle = Replace(sAngle, " ", "")
mid1 = InStr(sAngle, "°")
mid2 = InStr(sAngle, "'")
degrees = CLng(Left$(sAngle, mid1 - 1))
minutes = CLng(Mid$(sAngle, mid1 + 1, mid2 - mid1 - 1))
seconds = Val(Mid$(sAngle, mid2 + 1, 10)) ' change 10 to 2 if only integer seconds
Deg2Dec = degrees + minutes / 60 + seconds / 3600
End Function
As written the function assumes values for each of deg/min/sec are included with unit indicators as given. Adapt for your needs.
In passing, for any work with trig functions you will probably need to convert the degrees to radians. -
Using a variable to set decimal place in SAPScript
Hi Freinds,
is it possible to use variable as decimal indicator anf if yes please how.
&symbol(E.2)& = two decimal
my intension:
&symbol(E.2)& = to replace 2 with variable e. g. &QAMV-STELLEN&
Thanks,
BlackyHi Uma,
For Example
If the output of &EDIDC-DOCNUM& = 50000.231
Then:
&EDIDC-DOCNUM(.2)& = 50000.23
Now my intension:
&EDIDC-DOCNUM(.<variable>)& where <variable> = 2
&EDIDC-DOCNUM(.<variable>)& = 50000.23 -
Error while updating decimal places in general settings
Hii All
I have got an error while updating Decimal places in General Settings
Cannot update while another user is connected to the company i have checked, there is no other user logged in, i could add other settings but the problem is only with Decimal Places
Note : there are no postings yet, a fresh database for a new client
what could be the possible reason
thanks
RIYAZHiii All
As a forum rule, i have initially gone through with the existing threads and then i was force to post a thread,
would be helpfull if there is any other way..
Thanks
RIYAZ -
What I've found so far is that the only way to get the % symbol into a numeric/decimal field at all is to set the "display pattern" to display the % symbol after numbers have been entered into the field.
The reason I want the field to be numeric and not text is because I have to run a FormCalc caculation that populates a third field.
(NumericField1 * Numeric Field2*) + NumericField1Thanks for the reply Niall.
I ended up chanigng the numeric field to a decimal field instead, and added the following display pattern: num{zzzz9.99'%'}
So although the user can't enter a % symbol into the field, a % symbol automaticaly populates when the user enters a number.
My criteria involved ensuring that a user could not enter a number with more than two numbers after the decimal, so I also set a trailing digits max of 2 (in the Obect > Field settings)
This is the FormCalc formula I used in the "calculate" event to calculate the salary increase amount request: (DecimalField1 * NumericField2) *.01 + NumericField2
This formula is meant to calculate the salary amount a manager is requesting their employee's salary be increased to. -
Decimal places in report painter
Hi experts. I have a financial report written in report painter. I want to show two decimal places on a single row. The rest of the report is in whole dollars, but this one row is a percentage, so I want to show decimal places. I know that you can format an entire column, but I can't figure out how to format a single row. Can anyone help?
Thanks
JanetYES U CAN
SAME AS ABOVE PROCEDURE
BUT SELECT ROW INSTEAD OF COLUMN
Edited by: Anil Kumar Potnuru on Feb 10, 2009 9:02 PM -
Can not change the number of decimal places in the normalization of result
dear all
i want to see the proportion of some data, for example, the income of May is 300, and the total income is 1000, i need to display it like 33.33% . so i set the
Calculate single values as normalization of result, and then it display 33.333%, i like to display only two number of decimal places, so i set the number of decimal places as 0.00, but i doesn't work, it still display three decimal numbers.
maybe you say i can use the percentage function like %CT %GT %RT, but i need to allow external access to my query, so the i can not use those functions.
can somebody helps me ? your advice is appreciated.hi,thanks for your advice, but that doesn't suit for my problem.
before i set the normalization of result, i can change the decimal values. After that i cann't.
In your thread, someone proposes use the T-code OY04. but this wouldn't help. As i change to other key figure, such as user quantity, when i set normalization of result, it still display 3 decimal values.
i think the point maybe lie in the normalization of result. please advise... thanks...
Maybe you are looking for
-
Hi apple dudes, I have about 7500 photos on my work MacBook Pro and what I want to do with them is tag/label each one with up to 5 headings so that each photo could effectively appear in or under multiple albums. I am effectively trying to create a p
-
How do I use a gift card to buy songs?
how do I use a gift card to bye songs?
-
Lotus Notes Backup data .nsf file corrupted
Hello friends, One of my users backed up data (nsf file) of Lotus notes got corrupted. The file size is 4 GB. Now the user is asking me to retrieve the data (mails) and i am not able to find any utility. Anyone having idea about any such free utility
-
My mail page will not open all the way, it gives me a very tiny window. There is no web page...only says alot with a place for a question.
-
Profit Center Local Currency (Currency Type 90)
We are in the middle of implementation of SAP and our curreny setting is as the following: Group Currency: USD Controlling Area Currency: Currency Type 30 (USD) FYI we are also implementing multiple valuation as the following (T-Code 8KEM): Currency